summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-09-28 02:58:04 +0300
committerSven Gothel <[email protected]>2010-09-28 02:58:04 +0300
commitef02d3a1dc631f69fbb70e2bc3b53b82777f9916 (patch)
tree1e52902b684aed3571055b8bc3086870995bdc12 /src/junit/com/jogamp
parent0c840749f7e4cc08d70c952cf24060f1ed63589a (diff)
Unit test: Add 'Robot' for test classes using AWT Robot
Diffstat (limited to 'src/junit/com/jogamp')
-rw-r--r--src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java (renamed from src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTUsageBeforeJOGLInitBug411.java)4
-rw-r--r--src/junit/com/jogamp/test/junit/newt/TestFocus01SwingAWTRobot.java (renamed from src/junit/com/jogamp/test/junit/newt/TestFocus01SwingAWT.java)4
-rw-r--r--src/junit/com/jogamp/test/junit/newt/TestFocus02SwingAWTRobot.java (renamed from src/junit/com/jogamp/test/junit/newt/TestFocus02SwingAWT.java)4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTUsageBeforeJOGLInitBug411.java b/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java
index f55c9b8c8..1af1c68f0 100644
--- a/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTUsageBeforeJOGLInitBug411.java
+++ b/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java
@@ -72,7 +72,7 @@ import org.junit.BeforeClass;
import org.junit.AfterClass;
import org.junit.Test;
-public class TestSwingAWTUsageBeforeJOGLInitBug411 {
+public class TestSwingAWTRobotUsageBeforeJOGLInitBug411 {
static long durationPerTest = 500; // ms
static Robot robot;
static Border border;
@@ -300,6 +300,6 @@ public class TestSwingAWTUsageBeforeJOGLInitBug411 {
}
}
System.out.println("durationPerTest: "+durationPerTest);
- org.junit.runner.JUnitCore.main(TestSwingAWTUsageBeforeJOGLInitBug411.class.getName());
+ org.junit.runner.JUnitCore.main(TestSwingAWTRobotUsageBeforeJOGLInitBug411.class.getName());
}
}
diff --git a/src/junit/com/jogamp/test/junit/newt/TestFocus01SwingAWT.java b/src/junit/com/jogamp/test/junit/newt/TestFocus01SwingAWTRobot.java
index bcfe3b86b..728d2c1a5 100644
--- a/src/junit/com/jogamp/test/junit/newt/TestFocus01SwingAWT.java
+++ b/src/junit/com/jogamp/test/junit/newt/TestFocus01SwingAWTRobot.java
@@ -35,7 +35,7 @@ import com.jogamp.test.junit.jogl.demos.es1.RedSquare;
import com.jogamp.test.junit.util.*;
-public class TestFocus01SwingAWT {
+public class TestFocus01SwingAWTRobot {
static {
GLProfile.initSingleton();
@@ -189,7 +189,7 @@ public class TestFocus01SwingAWT {
}
}
System.out.println("durationPerTest: "+durationPerTest);
- String tstname = TestFocus01SwingAWT.class.getName();
+ String tstname = TestFocus01SwingAWTRobot.class.getName();
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(new String[] {
tstname,
"filtertrace=true",
diff --git a/src/junit/com/jogamp/test/junit/newt/TestFocus02SwingAWT.java b/src/junit/com/jogamp/test/junit/newt/TestFocus02SwingAWTRobot.java
index c0ea9fa33..7e6c34bd1 100644
--- a/src/junit/com/jogamp/test/junit/newt/TestFocus02SwingAWT.java
+++ b/src/junit/com/jogamp/test/junit/newt/TestFocus02SwingAWTRobot.java
@@ -70,7 +70,7 @@ import java.io.IOException;
import com.jogamp.test.junit.util.*;
import com.jogamp.test.junit.jogl.demos.gl2.gears.Gears;
-public class TestFocus02SwingAWT {
+public class TestFocus02SwingAWTRobot {
static int width, height;
static long durationPerTest = 800;
static long waitReparent = 0;
@@ -271,7 +271,7 @@ public class TestFocus02SwingAWT {
}
System.err.println("durationPerTest "+durationPerTest);
System.err.println("waitReparent "+waitReparent);
- String tstname = TestFocus02SwingAWT.class.getName();
+ String tstname = TestFocus02SwingAWTRobot.class.getName();
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(new String[] {
tstname,
"filtertrace=true",