aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-01 16:15:21 +0200
committerSven Gothel <[email protected]>2011-04-01 16:15:21 +0200
commit85c3bcac2ef65aa7c6a5a4990f1e2559d691a361 (patch)
treec16181d09080baf3bb9b25fb9d957a47d0db8575
parentbe6b84a849763df8dbce8ade2caac95dc3cb7eec (diff)
Graph Unit tests must have NEWT in the name / Also added UI locking
-rwxr-xr-xmake/scripts/tests.sh6
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (renamed from src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java)5
-rwxr-xr-xsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (renamed from src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java)5
3 files changed, 9 insertions, 7 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index f288d5602..53919ae54 100755
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -196,9 +196,9 @@ function testawtmt() {
#testawt com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot
#testawt com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextListAWT $*
-#testnoawt com.jogamp.opengl.test.junit.graph.TestRegionRenderer01 $*
-#testnoawt com.jogamp.opengl.test.junit.graph.TestTextRenderer01 $*
-testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo01 $*
+#testnoawt com.jogamp.opengl.test.junit.graph.TestRegionRendererNEWT01 $*
+testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT01 $*
+#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo01 $*
#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo02 $*
#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPURegionNewtDemo01 $*
#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPURegionNewtDemo02 $*
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java b/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java
index 9ad4eb41a..bb7af25ae 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java
@@ -19,12 +19,13 @@ import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.test.junit.graph.demos.GPURegionGLListener01;
import com.jogamp.opengl.test.junit.graph.demos.GPURegionGLListener02;
import com.jogamp.opengl.test.junit.graph.demos.GPURegionRendererListenerBase01;
+import com.jogamp.opengl.test.junit.util.UITestCase;
-public class TestRegionRenderer01 {
+public class TestRegionRendererNEWT01 extends UITestCase {
public static void main(String args[]) throws IOException {
- String tstname = TestRegionRenderer01.class.getName();
+ String tstname = TestRegionRendererNEWT01.class.getName();
org.junit.runner.JUnitCore.main(tstname);
}
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java
index c954c6aa7..cdf54796b 100755
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java
@@ -21,12 +21,13 @@ import com.jogamp.graph.font.FontFactory;
import com.jogamp.graph.geom.opengl.SVertex;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.test.junit.graph.demos.GPUTextRendererListenerBase01;
+import com.jogamp.opengl.test.junit.util.UITestCase;
-public class TestTextRenderer01 {
+public class TestTextRendererNEWT01 extends UITestCase {
public static void main(String args[]) throws IOException {
- String tstname = TestTextRenderer01.class.getName();
+ String tstname = TestTextRendererNEWT01.class.getName();
org.junit.runner.JUnitCore.main(tstname);
}