From adb20844585376be2ac4291a1294fd8ec8dfb520 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 27 Sep 2011 12:52:36 +0200 Subject: tests: added some commented out 'wait for press enter' startups, reduce getCurrentScreenMode() loop to 100 --- .../opengl/test/junit/jogl/acore/TestSharedContextListNEWT.java | 9 +++++++-- .../jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java | 8 +++++--- .../com/jogamp/opengl/test/junit/newt/TestScreenMode00bNEWT.java | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT.java index 73a227740..a37b4cc61 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT.java @@ -28,10 +28,11 @@ package com.jogamp.opengl.test.junit.jogl.acore; +import java.io.IOException; + import com.jogamp.newt.opengl.GLWindow; import javax.media.nativewindow.util.InsetsImmutable; -import javax.media.opengl.FPSCounter; import javax.media.opengl.GLCapabilities; import javax.media.opengl.GLDrawableFactory; import javax.media.opengl.GLPbuffer; @@ -133,7 +134,7 @@ public class TestSharedContextListNEWT extends UITestCase { static long duration = 500; // ms - public static void main(String args[]) { + public static void main(String args[]) throws IOException { for(int i=0; i