From 79e0951cfdb5fb2371df23edeaf7f8957b0ee3f5 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 18 Oct 2009 19:17:30 +0200 Subject: added first JUnit test: GlueGenTest.java. (dependencies: junit-4.5.jar, antlr-2.7.7.jar in /lib) Test tests the basic GlueGen lifecycle: generate->compile java->compile native->load lib->call methods integrated test compile,run and debug targets into NetBeans IDE. --- test/junit/com/sun/gluegen/test.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/junit/com/sun/gluegen/test.h (limited to 'test/junit/com/sun/gluegen/test.h') diff --git a/test/junit/com/sun/gluegen/test.h b/test/junit/com/sun/gluegen/test.h new file mode 100644 index 0000000..02a22c1 --- /dev/null +++ b/test/junit/com/sun/gluegen/test.h @@ -0,0 +1,10 @@ + +typedef unsigned long foo; + +int arrayTest(long context, foo * array ); + +int bufferTest(void * object); + +int mixedTest(long context, void * object, foo * array ); + +int doubleTest(long context, void * object1, foo * array1, void * object2, foo * array2 ); -- cgit v1.2.3