From 1e7d41372073d07a3662df4e646d63da4ebf2478 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 9 Jan 2012 18:57:12 +0100 Subject: minor edits / clarify SWT test descripion --- src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java | 1 - src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT01GLn.java | 7 +++++-- src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT02GLn.java | 7 +++++-- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java b/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java index 82211393c..c3936c615 100644 --- a/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java +++ b/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java @@ -536,7 +536,6 @@ public class GLCanvas extends Canvas implements GLAutoDrawable { final GLCanvas canvas = new GLCanvas(shell, 0, caps, null, null); canvas.addGLEventListener(new GLEventListener() { - public void init(final GLAutoDrawable drawable) { GL gl = drawable.getGL(); System.err.println(JoglVersion.getGLInfo(gl, null)); diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT01GLn.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT01GLn.java index d302c3903..c37ea0652 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT01GLn.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT01GLn.java @@ -57,8 +57,11 @@ import com.jogamp.opengl.test.junit.jogl.demos.gl2.OneTriangle; import com.jogamp.opengl.test.junit.util.UITestCase; /** - * Tests that a basic SWT app can open without crashing under different GL profiles. Uses the SWT GL canvas. - * @author Wade Walker + * Tests that a basic SWT app can open without crashing under different GL profiles. + *

+ * Uses the SWT GLCanvas org.eclipse.swt.opengl.GLCanvas. + *

+ * @author Wade Walker, et.al. */ public class TestSWT01GLn extends UITestCase { diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT02GLn.java b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT02GLn.java index b8e45dfe1..99902449b 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT02GLn.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWT02GLn.java @@ -61,8 +61,11 @@ import jogamp.nativewindow.swt.SWTAccessor; import org.eclipse.swt.widgets.Canvas; /** - * Tests that a basic SWT app can open without crashing under different GL profiles. Uses the SWT GL canvas. - * @author Wade Walker + * Tests that a basic SWT app can open without crashing under different GL profiles. + *

+ * Uses JOGL's SWTAccessor only. + *

+ * @author Wade Walker, et.al. */ public class TestSWT02GLn extends UITestCase { -- cgit v1.2.3