diff options
author | Sven Gothel <[email protected]> | 2020-06-15 01:50:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-15 01:50:05 +0200 |
commit | ecf6e499d3b582d651a28693c871ca14d6e8c991 (patch) | |
tree | 153e9055f512fc9617f038ed488f0e7772c3b229 | |
parent | d335d99df25cc929d06765c3f1af3944f124f6a7 (diff) |
Fix TestBug1398Deadlock02AWT: Missed adaption of unit test to AWTRobotUtil & GLTestUtil changes when 'front porting'
Thanks to Julien Gouesse reminding me of this issue.
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1398Deadlock02AWT.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1398Deadlock02AWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1398Deadlock02AWT.java index f5bf105bf..36160997a 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1398Deadlock02AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1398Deadlock02AWT.java @@ -33,6 +33,7 @@ import com.jogamp.opengl.GLCapabilities; import com.jogamp.opengl.awt.GLCanvas; import com.jogamp.opengl.util.Animator; import com.jogamp.opengl.test.junit.util.AWTRobotUtil; +import com.jogamp.opengl.test.junit.util.GLTestUtil; import com.jogamp.opengl.test.junit.util.UITestCase; import com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2; @@ -98,8 +99,8 @@ public class TestBug1398Deadlock02AWT extends UITestCase { Assume.assumeNoException(t); } animator.start(); - Assert.assertEquals(true, AWTRobotUtil.waitForRealized(glCanvas, true)); - Assert.assertEquals(true, AWTRobotUtil.waitForContextCreated(glCanvas, true)); + Assert.assertEquals(true, AWTRobotUtil.waitForRealized(glCanvas, true, null)); + Assert.assertEquals(true, GLTestUtil.waitForContextCreated(glCanvas, true, null)); Thread.sleep(1000); // 1s |