From 20dd60820257af9aef8ff3eeab1c03736252e284 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 25 Nov 2010 03:02:26 +0100 Subject: Relax GLAnimatorControl, ie remove fail fast for start()/stop(), return (boolean)success instead. --- .../test/junit/newt/TestGLWindows02NEWTAnimated.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/junit/com/jogamp/test') diff --git a/src/junit/com/jogamp/test/junit/newt/TestGLWindows02NEWTAnimated.java b/src/junit/com/jogamp/test/junit/newt/TestGLWindows02NEWTAnimated.java index 34e4f6430..e73181604 100644 --- a/src/junit/com/jogamp/test/junit/newt/TestGLWindows02NEWTAnimated.java +++ b/src/junit/com/jogamp/test/junit/newt/TestGLWindows02NEWTAnimated.java @@ -118,13 +118,13 @@ public class TestGLWindows02NEWTAnimated extends UITestCase { Assert.assertNotNull(caps); GLWindow window = createWindow(null, caps, width, height, true /* onscreen */, false /* undecorated */); Animator animator = new Animator(window); - animator.start(); + Assert.assertTrue(animator.start()); while(animator.isAnimating() && animator.getDuration()