aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java5
-rw-r--r--src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java10
2 files changed, 10 insertions, 5 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java b/src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java
index 28e346a70..1c7689b92 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java
@@ -43,7 +43,9 @@ import javax.media.opengl.GLEventListener;
import javax.swing.JFrame;
import java.util.ArrayList;
+import java.io.BufferedReader;
import java.io.IOException;
+import java.io.InputStreamReader;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -204,6 +206,9 @@ public class TestFocus01SwingAWTRobot extends UITestCase {
durationPerTest = atoi(args[++i]);
}
}
+ // BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
+ // System.err.println("Press enter to continue");
+ // System.err.println(stdin.readLine());
System.out.println("durationPerTest: "+durationPerTest);
String tstname = TestFocus01SwingAWTRobot.class.getName();
org.junit.runner.JUnitCore.main(tstname);
diff --git a/src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java b/src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java
index 7b550993e..af3c771f3 100644
--- a/src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java
+++ b/src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java
@@ -50,11 +50,11 @@ public class AWTRobotUtil {
static final boolean DEBUG = false;
- public static int RETRY_NUMBER = 5;
- public static int ROBOT_DELAY = 100; // ms
- public static int TIME_OUT = 1000; // 1s
- public static int POLL_DIVIDER = 20; // TO/20
- public static int TIME_SLICE = TIME_OUT / POLL_DIVIDER ;
+ public static final int RETRY_NUMBER = 5;
+ public static final int ROBOT_DELAY = 100; // ms
+ public static final int TIME_OUT = 1000; // 1s
+ public static final int POLL_DIVIDER = 20; // TO/20
+ public static final int TIME_SLICE = TIME_OUT / POLL_DIVIDER ;
public static Integer AWT_CLICK_TO = null;
public static Point getCenterLocation(Object obj)