diff options
author | Sven Gothel <[email protected]> | 2011-11-26 06:21:06 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-26 06:21:06 +0100 |
commit | c354ecce7c18b5623f1fb0162134733c1ebf4178 (patch) | |
tree | 5e4400fd11064612bb0faf9f48624bda1b003bea | |
parent | 7573b967c07b103d74afdda2aafe4444006a8533 (diff) |
TestParenting03AWT: manual test option -firstUIAction for GLProfile.initSingleton(firstUIAction)
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java | 4 |
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(); |