aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java
index b33a40fae..93581f81d 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java
@@ -57,9 +57,11 @@ public class TestParenting03AWT extends UITestCase {
static long durationPerTest = 1100;
static long waitAdd2nd = 500;
static GLCapabilities glCaps;
+ static boolean firstUIActionOnProcess = false;
@BeforeClass
public static void initClass() {
+ GLProfile.initSingleton(firstUIActionOnProcess);
glSize = new Dimension(400,200);
fSize = new Dimension(3*400,2*200);
glCaps = new GLCapabilities(null);
@@ -215,6 +217,8 @@ public class TestParenting03AWT extends UITestCase {
durationPerTest = atoi(args[++i]);
} else if(args[i].equals("-wait")) {
waitAdd2nd = atoi(args[++i]);
+ } else if(args[i].equals("-firstUIAction")) {
+ firstUIActionOnProcess = true;
}
}
String tstname = TestParenting03AWT.class.getName();