summaryrefslogtreecommitdiff
path: root/src/it/it0005-jni-static
diff options
context:
space:
mode:
Diffstat (limited to 'src/it/it0005-jni-static')
-rw-r--r--src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java b/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java
index 45cb048..50d45fe 100644
--- a/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java
+++ b/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java
@@ -20,30 +20,12 @@ package it0005.test;
*/
import it0005.HelloWorldStaticJNI;
-import junit.framework.Assert;
-import junit.framework.TestCase;
+import org.junit.Assert;
+import org.junit.Test;
public class HelloWorldStaticJNITest
- extends TestCase
{
-
- public HelloWorldStaticJNITest( String name )
- {
- super( name );
- }
-
- protected void setUp()
- throws Exception
- {
- super.setUp();
- }
-
- protected void tearDown()
- throws Exception
- {
- super.tearDown();
- }
-
+ @Test
public void testNativeHelloWorldJNI()
throws Exception
{