From a69e3bc4aa148c8d84bb3caa449846ab8e74fab4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 6 Sep 2011 07:23:19 +0200 Subject: Fix test case for commit 68f5a97ef165a39769040e36114c572c7d0f1abd --- src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java index a9157a9ee..28300a5c5 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java @@ -145,8 +145,6 @@ public class TestScreenMode02NEWT extends UITestCase { // check reset .. - ScreenMode saveOrigMode = (ScreenMode) smOrig.clone(); - Assert.assertEquals(true,display.isNativeValid()); Assert.assertEquals(true,screen.isNativeValid()); Assert.assertEquals(true,window.isNativeValid()); @@ -169,7 +167,7 @@ public class TestScreenMode02NEWT extends UITestCase { System.err.println("[1] current/orig: "+smCurrent); Assert.assertNotNull(smCurrent); - Assert.assertEquals(saveOrigMode, smOrig); + Assert.assertEquals(smCurrent, smOrig); screen.destroy(); -- cgit v1.2.3