diff options
Diffstat (limited to 'src/test/com/jogamp')
4 files changed, 6 insertions, 5 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestGLCanvasSWTNewtCanvasSWTPosInTabs.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestGLCanvasSWTNewtCanvasSWTPosInTabs.java index a5bafd15d..86e0f9d9b 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestGLCanvasSWTNewtCanvasSWTPosInTabs.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestGLCanvasSWTNewtCanvasSWTPosInTabs.java @@ -184,6 +184,7 @@ public class TestGLCanvasSWTNewtCanvasSWTPosInTabs extends UITestCase { {
display = new Display();
Assert.assertNotNull( display );
+ SWTAccessor.printInfo(System.err, display);
shell = new Shell( display );
shell.setText( getSimpleTestName(".") );
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor01.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor01.java index bf98a8e95..79dc71406 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor01.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor01.java @@ -83,12 +83,11 @@ public class TestSWTAccessor01 extends UITestCase { } protected void init() throws InterruptedException, InvocationTargetException { - System.err.println("SWT Platform: "+SWT.getPlatform()+", Version "+SWT.getVersion()); - System.err.println("GTK_VERSION: "+SWTAccessor.GTK_VERSION()); SWTAccessor.invoke(true, new Runnable() { public void run() { display = new Display(); Assert.assertNotNull( display ); + SWTAccessor.printInfo(System.err, display); shell = new Shell( display ); Assert.assertNotNull( shell ); shell.setLayout( new GridLayout(3, false) ); diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor02NewtGLWindow.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor02NewtGLWindow.java index 787858175..b40eb3203 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor02NewtGLWindow.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor02NewtGLWindow.java @@ -92,12 +92,11 @@ public class TestSWTAccessor02NewtGLWindow extends UITestCase { Composite composite = null; protected void init() throws InterruptedException, InvocationTargetException { - System.err.println("SWT Platform: "+SWT.getPlatform()+", Version "+SWT.getVersion()); - System.err.println("GTK_VERSION: "+SWTAccessor.GTK_VERSION()); SWTAccessor.invoke(true, new Runnable() { public void run() { display = new Display(); Assert.assertNotNull( display ); + SWTAccessor.printInfo(System.err, display); shell = new Shell( display ); Assert.assertNotNull( shell ); shell.setLayout( new GridLayout(3, false) ); diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java index d3c4de885..732db5c51 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor03AWTGLn.java @@ -55,6 +55,7 @@ import org.junit.FixMethodOrder; import org.junit.runners.MethodSorters; import com.jogamp.common.os.Platform; +import com.jogamp.junit.util.JunitTracer; import com.jogamp.nativewindow.swt.SWTAccessor; import com.jogamp.opengl.test.junit.jogl.demos.es1.OneTriangle; import com.jogamp.opengl.test.junit.util.MiscUtils; @@ -82,7 +83,7 @@ public class TestSWTAccessor03AWTGLn extends UITestCase { // NSLocking issues on OSX and AWT, able to freeze whole test suite! // Since this test is merely a technical nature to validate the accessor w/ SWT // we can drop it w/o bothering. - UITestCase.setTestSupported(false); + JunitTracer.setTestSupported(false); return; } System.out.println( "GLProfile " + GLProfile.glAvailabilityToString() ); @@ -107,6 +108,7 @@ public class TestSWTAccessor03AWTGLn extends UITestCase { public void run() { display = new Display(); Assert.assertNotNull( display ); + SWTAccessor.printInfo(System.err, display); shell = new Shell( display ); Assert.assertNotNull( shell ); shell.setLayout( new FillLayout() ); |