From 5cabafe5482ae2f7b4bb447a225eb2a6477fee4d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 10 Oct 2012 16:37:29 +0200 Subject: TestSWTAccessor03AWTGLn: Add '-time ' commandline option --- .../opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java index 080dff396..91902a896 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java @@ -55,6 +55,7 @@ import org.junit.Test; import com.jogamp.common.os.Platform; import com.jogamp.nativewindow.swt.SWTAccessor; import com.jogamp.opengl.test.junit.jogl.demos.es1.OneTriangle; +import com.jogamp.opengl.test.junit.util.MiscUtils; import com.jogamp.opengl.test.junit.util.UITestCase; /** @@ -64,7 +65,7 @@ import com.jogamp.opengl.test.junit.util.UITestCase; */ public class TestSWTAccessor03AWTGLn extends UITestCase { - static final int duration = 250; + static int duration = 250; Display display = null; Shell shell = null; @@ -203,6 +204,11 @@ public class TestSWTAccessor03AWTGLn extends UITestCase { } public static void main(String args[]) { + for(int i=0; i