From 9e2563da5e40964d691fe9502de6c9178f98bee0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 5 Nov 2012 15:42:21 +0100 Subject: TestGLCanvasAWTActionDeadlock0[01]AWT: Disable 'restart' test on current (non AWT) thread - crashes on solaris (which is fine) Modifying AWT components shall always happen on AWT-EDT anyways. --- .../opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock00AWT.java | 3 ++- .../opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock01AWT.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock00AWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock00AWT.java index d1eaf5794..f026fa2c0 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock00AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock00AWT.java @@ -72,10 +72,11 @@ public class TestGLCanvasAWTActionDeadlock00AWT extends UITestCase { testImpl(new FPSAnimator(30), 100, false); } + /** May crash due to invalid thread usage, i.e. non AWT-EDT @Test public void test02FPSAnimator_RestartOnCurrentThread() throws InterruptedException { testImpl(new FPSAnimator(30), 100, true); - } + } */ void testImpl(final AnimatorBase animator, int restartPeriod, boolean restartOnCurrentThread) throws InterruptedException { final Frame frame1 = new Frame("Frame 1"); diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock01AWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock01AWT.java index 09609dd39..c2b6f1551 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock01AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock01AWT.java @@ -82,10 +82,11 @@ public class TestGLCanvasAWTActionDeadlock01AWT extends UITestCase { testImpl(new FPSAnimator(30), 200, false); } + /** May crash due to invalid thread usage, i.e. non AWT-EDT @Test public void test02FPSAnimator_RestartOnCurrentThread() throws InterruptedException { testImpl(new FPSAnimator(30), 200, true); - } + } */ void testImpl(final AnimatorBase animator, int restartPeriod, boolean restartOnCurrentThread) throws InterruptedException { final Frame frame1 = new Frame("Frame 1"); -- cgit v1.2.3