aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-16 13:15:34 +0200
committerSven Gothel <[email protected]>2011-09-16 13:15:34 +0200
commitedbee9a1f34929e9bd3119bac88ab1c759c569a3 (patch)
treefbbd779b8dfc1cb12bc29a654b60432ed6a00134 /src/test
parente228acfcf5be36fb161043bb2ae21f8d60bc6ca4 (diff)
NEWT/WindowImpl: Remove wait for position (keep waitForSize for reparent/fullscreen)
Window position is not deterministic enough and slows down processing while sync on it
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java
index 979f640e6..827dd09fb 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/TestWindows01NEWT.java
@@ -80,14 +80,15 @@ public class TestWindows01NEWT extends UITestCase {
Assert.assertEquals(true,window.isNativeValid());
Assert.assertEquals(width, window.getWidth());
Assert.assertEquals(height, window.getHeight());
-
+
+ /** we don't sync on position - unreliable test
Point p0 = window.getLocationOnScreen(null);
Assert.assertEquals(p0.getX(), window.getX());
Assert.assertEquals(p0.getY(), window.getY());
if(userPos) {
Assert.assertEquals(x, window.getX());
Assert.assertEquals(y, window.getY());
- }
+ } */
CapabilitiesImmutable chosenCapabilities = window.getGraphicsConfiguration().getNativeGraphicsConfiguration().getChosenCapabilities();
Assert.assertNotNull(chosenCapabilities);