summaryrefslogtreecommitdiffstats
path: root/test/junit/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'test/junit/com/jogamp')
-rw-r--r--test/junit/com/jogamp/gluegen/PCPPTest.java13
-rw-r--r--test/junit/com/jogamp/gluegen/pcpptest.h74
2 files changed, 86 insertions, 1 deletions
diff --git a/test/junit/com/jogamp/gluegen/PCPPTest.java b/test/junit/com/jogamp/gluegen/PCPPTest.java
index 70b6a84..8e06646 100644
--- a/test/junit/com/jogamp/gluegen/PCPPTest.java
+++ b/test/junit/com/jogamp/gluegen/PCPPTest.java
@@ -68,7 +68,18 @@ public class PCPPTest {
"# 40 \"pcpptest.h\""+
"#54\"pcpptest.h\""+
" int TEST_D_GOOD;"+
- "#60\"pcpptest.h\"";
+ "#60\"pcpptest.h\""+
+ "#70\"pcpptest.h\""+
+ "#77\"pcpptest.h\""+
+ "#105\"pcpptest.h\""+
+ "#123\"pcpptest.h\""+
+ " int GOOD_F_1;"+
+ " int GOOD_F_2;"+
+ "#126\"pcpptest.h\""+
+ " int GOOD_G;"+
+ "#128\"pcpptest.h\""+
+ "#132\"pcpptest.h\""+
+ "#134\"pcpptest.h\"";
output.flush();
String result = output.toString();
diff --git a/test/junit/com/jogamp/gluegen/pcpptest.h b/test/junit/com/jogamp/gluegen/pcpptest.h
index e52cc5c..5a2d25a 100644
--- a/test/junit/com/jogamp/gluegen/pcpptest.h
+++ b/test/junit/com/jogamp/gluegen/pcpptest.h
@@ -57,3 +57,77 @@ int TEST_C;
int TEST_D_ERROR;
#endif
+#if (defined(__NO__) && defined(__NOPE__))
+ #define TEST_E_VAL ((long) 0x7FFFFFFFFFFFFFFFLL)
+#else
+ #define TEST_E_VAL ((long) 0x7FFFFFFFFFFFFFFFLL)
+#endif
+
+/***
+ ** STD API file ..
+ */
+
+#ifndef __test_h_
+#define __test_h_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if defined( __NANA__ )
+ #if defined( __MINGW64__ )
+ #include <cant_find_file_a.h>
+ #elif defined( __NONO__ )
+ #include <cant_find_file_b.h>
+ #else
+ #include <cant_find_file_c.h>
+ #endif
+ #if defined( __GNUC__ )
+ #include <cant_find_file_d.h>
+ #else
+ #include <cant_find_file_e.h>
+ #endif
+#else
+ #if defined( __MINGW64__ )
+ #include <cant_find_file_a.h>
+ #elif defined( __NONO__)
+ #include <cant_find_file_b.h>
+ #else
+ #define TEST_F_VAL1 GOOD_F_1
+ #endif
+ #if defined( __GNUC__ )
+ #include <cant_find_file_d.h>
+ #else
+ #define TEST_F_VAL2 GOOD_F_2
+ #endif
+#endif
+
+#if defined( __YES__ )
+ #if defined( __NONO__)
+ #include <cant_find_file_a.h>
+ #elif defined( __YES__)
+ #define TEST_G_VAL GOOD_G
+ #else
+ #include <cant_find_file_b.h>
+ #endif
+#else
+ #if defined( __MINGW64__ )
+ #include <cant_find_file_a.h>
+ #elif defined( __NONO__)
+ #include <cant_find_file_b.h>
+ #else
+ #include <cant_find_file_c.h>
+ #endif
+#endif
+
+int TEST_F_VAL1;
+int TEST_F_VAL2;
+
+int TEST_G_VAL;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __test_h_ */
+