From 29072eee5784035d1284d3b9625450681fca25b3 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 18 Jun 2010 23:24:03 +0200 Subject: added BasicProcAddressEmitterTest testing generation of ProcAddressTable and method RenameJavaMethod property. --- test/junit/com/sun/gluegen/dyntest.cfg | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/junit/com/sun/gluegen/dyntest.cfg (limited to 'test/junit/com/sun/gluegen/dyntest.cfg') diff --git a/test/junit/com/sun/gluegen/dyntest.cfg b/test/junit/com/sun/gluegen/dyntest.cfg new file mode 100644 index 0000000..60b8764 --- /dev/null +++ b/test/junit/com/sun/gluegen/dyntest.cfg @@ -0,0 +1,25 @@ +Package test +Style AllStatic +JavaClass DynBindingTest +JavaOutputDir java +NativeOutputDir native + +CustomCCode #include "test.h" + +Import com.jogamp.common.nio.* + + +EmitProcAddressTable true +ProcAddressTableClassName Table +GetProcAddressTableExpr table +ProcAddressNameExpr $UpperCase(arg) + +ForceProcAddressGen __ALL__ + +CustomJavaCode DynBindingTest private final static Table table; +CustomJavaCode DynBindingTest static { +CustomJavaCode DynBindingTest table = new Table(); +CustomJavaCode DynBindingTest //table.reset(); +CustomJavaCode DynBindingTest } + +RenameJavaMethod arrayTest fancyArrayTest \ No newline at end of file -- cgit v1.2.3