summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-06 10:39:28 +0100
committerSven Gothel <[email protected]>2012-01-06 10:39:28 +0100
commit2c005c6bf4abd2beafdc9b8cb4b713229bc2b359 (patch)
treef55ff0d5ed9e5f0ee593cdf635dbad4caf0ffdf4 /src/test/com/jogamp/opengl
parent97940607411e33b28886ae4ac8a5e345fc7d015a (diff)
Fix TestAWTCardLayoutAnimatorStartStopBug532 pause/resume test
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java
index 317563b28..83578acdd 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java
@@ -65,7 +65,10 @@ public class TestAWTCardLayoutAnimatorStartStopBug532 extends UITestCase {
final GLAnimatorControl animatorCtrl = useFPSAnimator ? new FPSAnimator(canvas, 60) : new Animator(canvas);
animatorCtrl.setUpdateFPSFrames(60, System.err);
-
+ if(!useAnimStartStop) {
+ animatorCtrl.start();
+ animatorCtrl.pause();
+ }
final JFrame frame = new JFrame();
frame.setTitle(getSimpleTestName());
frame.addWindowListener(new WindowAdapter() {