From 5f44ac3e543e24fd9efc5025830ebc671b85f8dc Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Tue, 13 Oct 2009 21:40:10 +0200 Subject: Fixed NAR-59 --- .../test/java/it0003/test/HelloWorldJNITest.java | 25 +++------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'src/it/it0003-jni') 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() ); } } -- cgit v1.2.3