From c354ecce7c18b5623f1fb0162134733c1ebf4178 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 26 Nov 2011 06:21:06 +0100 Subject: TestParenting03AWT: manual test option -firstUIAction for GLProfile.initSingleton(firstUIAction) --- .../jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/com/jogamp/opengl') 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(); -- cgit v1.2.3