summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-26 06:21:06 +0100
committerSven Gothel <[email protected]>2011-11-26 06:21:06 +0100
commitc354ecce7c18b5623f1fb0162134733c1ebf4178 (patch)
tree5e4400fd11064612bb0faf9f48624bda1b003bea /src/test/com/jogamp
parent7573b967c07b103d74afdda2aafe4444006a8533 (diff)
TestParenting03AWT: manual test option -firstUIAction for GLProfile.initSingleton(firstUIAction)
Diffstat (limited to 'src/test/com/jogamp')
-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();