diff options
author | Sven Gothel <[email protected]> | 2012-01-09 18:57:12 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-01-09 18:57:12 +0100 |
commit | 1e7d41372073d07a3662df4e646d63da4ebf2478 (patch) | |
tree | 8005c184ede0881c084f2821ccfeb9181c919348 /src | |
parent | 450110cd75c6cd36f72a67cdd9f15ce5ba3bf2cf (diff) |
minor edits / clarify SWT test descripion
Diffstat (limited to 'src')
3 files changed, 10 insertions, 5 deletions
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.
+ * <p>
+ * Uses the SWT GLCanvas <code>org.eclipse.swt.opengl.GLCanvas</code>.
+ * </p>
+ * @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. + * <p> + * Uses JOGL's SWTAccessor only. + * </p> + * @author Wade Walker, et.al. */ public class TestSWT02GLn extends UITestCase { |