diff options
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLJPanel01AWT.java | 10 | ||||
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLWindow01NEWT.java | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLJPanel01AWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLJPanel01AWT.java index bec3fe2ef..8825b94c7 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLJPanel01AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLJPanel01AWT.java @@ -47,8 +47,8 @@ import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestAnimatorGLJPanel01AWT extends UITestCase { - static final int width = 640; - static final int height = 480; + static final int width = 400; + static final int height = 400; protected GLJPanel createGLJPanel(final GLCapabilities caps, final Frame frame, final int x, final int y, final GearsES2 gears) throws InterruptedException { final GLJPanel glCanvas = new GLJPanel(caps); @@ -111,6 +111,7 @@ public class TestAnimatorGLJPanel01AWT extends UITestCase { animator.add(c3); javax.swing.SwingUtilities.invokeAndWait(new Runnable() { + @Override public void run() { f1.setVisible(true); f2.setVisible(true); @@ -159,6 +160,7 @@ public class TestAnimatorGLJPanel01AWT extends UITestCase { stopAnimator(animator); javax.swing.SwingUtilities.invokeAndWait(new Runnable() { + @Override public void run() { try { f1.dispose(); @@ -187,6 +189,7 @@ public class TestAnimatorGLJPanel01AWT extends UITestCase { Assert.assertEquals(false, a1.isPaused()); Assert.assertEquals(true, a1.isAnimating()); javax.swing.SwingUtilities.invokeAndWait(new Runnable() { + @Override public void run() { f1.setVisible(true); } } ); @@ -201,6 +204,7 @@ public class TestAnimatorGLJPanel01AWT extends UITestCase { Assert.assertEquals(false, a2.isPaused()); Assert.assertEquals(true, a2.isAnimating()); javax.swing.SwingUtilities.invokeAndWait(new Runnable() { + @Override public void run() { f2.setVisible(true); } } ); @@ -215,6 +219,7 @@ public class TestAnimatorGLJPanel01AWT extends UITestCase { Assert.assertEquals(false, a3.isPaused()); Assert.assertEquals(true, a3.isAnimating()); javax.swing.SwingUtilities.invokeAndWait(new Runnable() { + @Override public void run() { f3.setVisible(true); } } ); @@ -267,6 +272,7 @@ public class TestAnimatorGLJPanel01AWT extends UITestCase { stopAnimator(a3); javax.swing.SwingUtilities.invokeAndWait(new Runnable() { + @Override public void run() { try { f1.dispose(); diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLWindow01NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLWindow01NEWT.java index 3eeea1690..4ee80946e 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLWindow01NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/TestAnimatorGLWindow01NEWT.java @@ -46,8 +46,8 @@ import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestAnimatorGLWindow01NEWT extends UITestCase { - static final int width = 640; - static final int height = 480; + static final int width = 400; + static final int height = 400; protected GLWindow createGLWindow(final GLCapabilities caps, final int x, final int y, final GearsES2 gears) throws InterruptedException { final GLWindow glWindow = GLWindow.create(caps); |