diff options
author | Sven Gothel <[email protected]> | 2013-07-10 13:58:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-10 13:58:00 +0200 |
commit | 2b6f60f67e470da2217dfc8ea9ddd566357715d4 (patch) | |
tree | b6a71dcb47555b8d8ffed4698c09932c53e88592 | |
parent | 214a426cf52c10519cf82e5fa00c4c76d1224379 (diff) |
TestMainVersionGLWindowNEWT: Add 'manual' version get/print for verification.
-rw-r--r-- | make/scripts/tests.sh | 4 | ||||
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/acore/TestMainVersionGLWindowNEWT.java | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index 4e1c0dd52..9cae2ddeb 100644 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -330,7 +330,7 @@ function testawtswt() { #testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLVersionParsing00NEWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestNEWTCloseX11DisplayBug565 $* -#testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestMainVersionGLWindowNEWT $* +testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestMainVersionGLWindowNEWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile00NEWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestShutdownCompleteNEWT $* @@ -399,7 +399,7 @@ function testawtswt() { #testnoawt com.jogamp.opengl.test.junit.newt.TestWindows01NEWT $* #testnoawt com.jogamp.opengl.test.junit.newt.TestWindowClosingProtocol02NEWT $* #testnoawt com.jogamp.opengl.test.junit.newt.TestGLWindows01NEWT $* -testnoawt com.jogamp.opengl.test.junit.newt.TestGLWindows02NEWTAnimated $* +#testnoawt com.jogamp.opengl.test.junit.newt.TestGLWindows02NEWTAnimated $* #testnoawt com.jogamp.opengl.test.junit.newt.TestGLWindowInvisiblePointer01NEWT $* #testnoawt com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle01NEWT #testnoawt com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle02NEWT diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestMainVersionGLWindowNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestMainVersionGLWindowNEWT.java index d178e34f4..41c6063dc 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestMainVersionGLWindowNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestMainVersionGLWindowNEWT.java @@ -32,12 +32,18 @@ import java.io.IOException; import org.junit.Test; import com.jogamp.newt.opengl.GLWindow; +import com.jogamp.opengl.JoglVersion; import com.jogamp.opengl.test.junit.util.UITestCase; public class TestMainVersionGLWindowNEWT extends UITestCase { @Test public void testMain() throws InterruptedException { + JoglVersion j = JoglVersion.getInstance(); + System.out.println("Implementation-Version: "+j.getImplementationVersion()); + System.out.println("Implementation-Build: "+j.getImplementationBuild()); + System.out.println("Implementation-Branch: "+j.getImplementationBranch()); + System.out.println("Implementation-Commit: "+j.getImplementationCommit()); GLWindow.main(null); } |