summaryrefslogtreecommitdiff
path: root/src/it/it0003-jni/src
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-13 21:40:10 +0200
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-13 21:40:10 +0200
commit5f44ac3e543e24fd9efc5025830ebc671b85f8dc (patch)
tree077934bd1870a32c4a7835f4b4ecec371d1d89ed /src/it/it0003-jni/src
parent475b6a89e340cf2997ce1b5953939078e684e917 (diff)
downloadmaven-nar-plugin-5f44ac3e543e24fd9efc5025830ebc671b85f8dc.tar.gz
maven-nar-plugin-5f44ac3e543e24fd9efc5025830ebc671b85f8dc.tar.bz2
maven-nar-plugin-5f44ac3e543e24fd9efc5025830ebc671b85f8dc.tar.xz
maven-nar-plugin-5f44ac3e543e24fd9efc5025830ebc671b85f8dc.zip
Fixed NAR-59
Diffstat (limited to 'src/it/it0003-jni/src')
-rw-r--r--src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java25
1 files changed, 3 insertions, 22 deletions
diff --git a/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java b/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java
index cfbf1db..718acb4 100644
--- a/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java
+++ b/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java
@@ -20,35 +20,16 @@ package it0003.test;
*/
import it0003.HelloWorldJNI;
-import junit.framework.*;
-
+import org.junit.Assert;
+import org.junit.Test;
public class HelloWorldJNITest
- extends TestCase
{
-
- public HelloWorldJNITest( String name )
- {
- super( name );
- }
-
- protected void setUp()
- throws Exception
- {
- super.setUp();
- }
-
- protected void tearDown()
- throws Exception
- {
- super.tearDown();
- }
-
+ @Test
public void testNativeHelloWorldJNI()
throws Exception
{
HelloWorldJNI app = new HelloWorldJNI();
-
Assert.assertEquals( "Hello NAR World!", app.sayHello() );
}
}