aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java2
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java b/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java
index 4ecc776..9a193c6 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java
@@ -1,5 +1,6 @@
package com.jogamp.gluegen.test.junit.structgen;
+import com.jogamp.common.os.Platform;
import com.jogamp.junit.util.SingletonJunitCase;
import org.junit.Assert;
@@ -16,6 +17,7 @@ public class TestStructGen01 extends SingletonJunitCase {
// Enforce dependency,
// i.e. CStruct annotation processor to generate the types 'RenderingConfig' etc.
BuildStruct01.initSingleton();
+ Platform.initSingleton();
}
@Test
diff --git a/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java b/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java
index f3368e0..47b4719 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java
@@ -1,5 +1,6 @@
package com.jogamp.gluegen.test.junit.structgen;
+import com.jogamp.common.os.Platform;
import com.jogamp.junit.util.SingletonJunitCase;
import org.junit.Assert;
@@ -16,6 +17,7 @@ public class TestStructGen02 extends SingletonJunitCase {
// Enforce dependency,
// i.e. CStruct annotation processor to generate the types 'RenderingConfig' etc.
BuildStruct01.initSingleton();
+ Platform.initSingleton();
}
@Test