aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-04-09 12:52:01 +0200
committerSven Gothel <[email protected]>2019-04-09 12:52:01 +0200
commit9b53619079d29483a487e54ed16ed845dd16bcb0 (patch)
treef24028c894c6bc14fca41d8e132da3ba08b24bb4 /src
parent58dd634261ebb815771dcd3d59dbf972f1c79106 (diff)
Bug 1362: Unit tests: Report SWT and GTK Version
Diffstat (limited to 'src')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor01.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTAccessor02NewtGLWindow.java2
2 files changed, 4 insertions, 0 deletions
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();