From 15d3ad1cba7ffa37f283129fd6319c5469dad510 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 16 Jul 2010 12:27:26 +0200 Subject: Junit: Relax assertions NEWT/Reparent --- src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java | 2 +- .../com/jogamp/test/junit/newt/parenting/TestParenting01NEWT.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/junit') diff --git a/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java b/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java index 3a36a1132..52c125998 100644 --- a/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java +++ b/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java @@ -108,7 +108,7 @@ public class TestGLWindows01NEWT { Assert.assertEquals(true,glWindow.isVisible()); Assert.assertEquals(true,glWindow.isNativeWindowValid()); while(glWindow.getTotalFrames()<1) { Thread.sleep(100); } - Assert.assertEquals(1,glWindow.getTotalFrames()); // native expose .. + Assert.assertTrue(0