diff options
author | Michael Bien <[email protected]> | 2009-10-18 19:17:30 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-10-18 19:17:30 +0200 |
commit | 79e0951cfdb5fb2371df23edeaf7f8957b0ee3f5 (patch) | |
tree | 7399468d4078c959d99346ba6f90934111e8d031 /test/junit/com/sun/gluegen/test.h | |
parent | 23597f78174c318febf35337338890c3665a13c7 (diff) |
added first JUnit test: GlueGenTest.java. (dependencies: junit-4.5.jar, antlr-2.7.7.jar in <gluegenroot>/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.
Diffstat (limited to 'test/junit/com/sun/gluegen/test.h')
-rw-r--r-- | test/junit/com/sun/gluegen/test.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 ); |