From 7438540ee6604cf91e14f12da891834d4cd83cfe Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 21 Mar 2015 04:37:39 +0100 Subject: Bug 1148 - OSX MonitorDevice: Use unique and native deviceID instead of index Adopt to bug 1147, commit 2c88b6dfd4eb7e2cd9a50fa48e08ecafc980931a. Using the native unique deviceID makes monitor identification more robust. This also allows us simplify displayID -> NSScreen-idx -> MonitorDevice into displayID -> MonitorDevice and to survive a primary monitor change. --- .../jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test') diff --git a/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java index b70b5ce7d..06173a9f1 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java @@ -110,7 +110,7 @@ public class TestScreenMode01cNEWT extends UITestCase { } @Test - public void testScreenFullscreenSingleQ1() throws InterruptedException { + public void test01ScreenFullscreenSingleQ1() throws InterruptedException { final Display display = NewtFactory.createDisplay(null); // local display Assert.assertNotNull(display); final Screen screen = NewtFactory.createScreen(display, 0); // screen 0 @@ -126,7 +126,7 @@ public class TestScreenMode01cNEWT extends UITestCase { } @Test - public void testScreenFullscreenSingleQ2() throws InterruptedException { + public void test02ScreenFullscreenSingleQ2() throws InterruptedException { final Display display = NewtFactory.createDisplay(null); // local display Assert.assertNotNull(display); final Screen screen = NewtFactory.createScreen(display, 0); // screen 0 @@ -146,7 +146,7 @@ public class TestScreenMode01cNEWT extends UITestCase { } @Test - public void testScreenFullscreenSpanQ1Q2() throws InterruptedException { + public void test03ScreenFullscreenSpanQ1Q2() throws InterruptedException { final Display display = NewtFactory.createDisplay(null); // local display Assert.assertNotNull(display); final Screen screen = NewtFactory.createScreen(display, 0); // screen 0 @@ -169,7 +169,7 @@ public class TestScreenMode01cNEWT extends UITestCase { } @Test - public void testScreenFullscreenSpanALL() throws InterruptedException { + public void test04ScreenFullscreenSpanALL() throws InterruptedException { final Display display = NewtFactory.createDisplay(null); // local display Assert.assertNotNull(display); final Screen screen = NewtFactory.createScreen(display, 0); // screen 0 -- cgit v1.2.3