aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-05-07 00:35:08 +0200
committerSven Gothel <[email protected]>2013-05-07 00:35:08 +0200
commit84576bc0b7c5bd9b7554ec02f01786228efdbe07 (patch)
tree8544a03b8df8a92a62e1a36ada8d462ca22747bc /src/test/com
parent5fb7f6322863e11892ace100e131ac7451ba8274 (diff)
MonitorMode: Fix API doc / comments / names.
Diffstat (limited to 'src/test/com')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode01aNEWT.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode01aNEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode01aNEWT.java
index 96ada3c96..c638058f4 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode01aNEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode01aNEWT.java
@@ -155,13 +155,13 @@ public class TestScreenMode01aNEWT extends UITestCase {
Assert.assertNotNull(monitorModes);
Assert.assertTrue(monitorModes.size()>0);
- MonitorMode sm = (MonitorMode) monitorModes.get(0);
- System.err.println("[0] set current: "+sm);
- Assert.assertTrue(monitor.setCurrentMode(sm));
+ MonitorMode mm = monitorModes.get(0);
+ System.err.println("[0] set current: "+mm);
+ Assert.assertTrue(monitor.setCurrentMode(mm));
Assert.assertTrue(monitor.isModeChangedByUs());
- Assert.assertEquals(sm, monitor.getCurrentMode());
+ Assert.assertEquals(mm, monitor.getCurrentMode());
Assert.assertNotSame(mmOrig, monitor.getCurrentMode());
- Assert.assertEquals(sm, monitor.queryCurrentMode());
+ Assert.assertEquals(mm, monitor.queryCurrentMode());
Thread.sleep(waitTimeShort);
@@ -176,7 +176,7 @@ public class TestScreenMode01aNEWT extends UITestCase {
Assert.assertTrue(monitor.setCurrentMode(mmOrig));
Assert.assertFalse(monitor.isModeChangedByUs());
Assert.assertEquals(mmOrig, monitor.getCurrentMode());
- Assert.assertNotSame(sm, monitor.getCurrentMode());
+ Assert.assertNotSame(mm, monitor.getCurrentMode());
Assert.assertEquals(mmOrig, monitor.queryCurrentMode());
destroyWindow(window0);