From 2c005c6bf4abd2beafdc9b8cb4b713229bc2b359 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 6 Jan 2012 10:39:28 +0100 Subject: Fix TestAWTCardLayoutAnimatorStartStopBug532 pause/resume test --- .../junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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() { -- cgit v1.2.3