From 9b53619079d29483a487e54ed16ed845dd16bcb0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 9 Apr 2019 12:52:01 +0200 Subject: Bug 1362: Unit tests: Report SWT and GTK Version --- src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor01.java | 2 ++ .../opengl/test/junit/jogl/swt/TestSWTAccessor02NewtGLWindow.java | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src') 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 126553162..bf98a8e95 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,6 +83,8 @@ 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(); 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 624634e59..4aae75484 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 @@ -99,6 +99,8 @@ public class TestSWTAccessor02NewtGLWindow 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(); -- cgit v1.2.3