summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/gl
diff options
context:
space:
mode:
Diffstat (limited to 'test/com/jogamp/opencl/gl')
-rw-r--r--test/com/jogamp/opencl/gl/CLGLTest.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/com/jogamp/opencl/gl/CLGLTest.java b/test/com/jogamp/opencl/gl/CLGLTest.java
index f05c4d55..2c940aa8 100644
--- a/test/com/jogamp/opencl/gl/CLGLTest.java
+++ b/test/com/jogamp/opencl/gl/CLGLTest.java
@@ -4,6 +4,9 @@
package com.jogamp.opencl.gl;
+import org.junit.Rule;
+import org.junit.rules.MethodRule;
+import org.junit.rules.Timeout;
import com.jogamp.opencl.CLDevice;
import com.jogamp.newt.Display;
import com.jogamp.newt.NewtFactory;
@@ -29,6 +32,9 @@ import static java.lang.System.*;
*/
public class CLGLTest {
+ @Rule
+ public MethodRule methodTimeout= new Timeout(5000);
+
private static GLContext glcontext;
@BeforeClass
@@ -95,6 +101,11 @@ public class CLGLTest {
try{
out.println(context);
+ /*
+ CLDevice currentDevice = context.getCurrentGLCLDevice();
+ assertNotNull(currentDevice);
+ out.println(currentDevice);
+ */
}finally{
context.release();
}