diff options
author | Sven Gothel <[email protected]> | 2013-06-25 10:41:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-25 10:41:37 +0200 |
commit | 8bcfb75d5812cc590f362bcc078bc15e3d975cf2 (patch) | |
tree | 6d56dc633ae49a7e461620d4598d3811f904513a /test | |
parent | b7e0e6e6ee645c11544609ed5cb90aca47773396 (diff) |
CLCommandQueueTest: Remove warning ..v2.0.2-rc12v2.0-rc12
Diffstat (limited to 'test')
-rw-r--r-- | test/com/jogamp/opencl/CLCommandQueueTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/com/jogamp/opencl/CLCommandQueueTest.java b/test/com/jogamp/opencl/CLCommandQueueTest.java index f5438d40..57689818 100644 --- a/test/com/jogamp/opencl/CLCommandQueueTest.java +++ b/test/com/jogamp/opencl/CLCommandQueueTest.java @@ -59,8 +59,9 @@ import static com.jogamp.opencl.CLCommandQueue.Mode.*; */ public class CLCommandQueueTest { + @SuppressWarnings("deprecation") @Rule - public MethodRule methodTimeout= new Timeout(20000); + public MethodRule methodTimeout= (MethodRule) new Timeout(20000); @Test public void enumsTest() { @@ -499,7 +500,9 @@ public class CLCommandQueueTest { checkIfEqual(clBufferC.buffer, clBufferD.buffer, elements); out.println("results are valid"); - }finally{ + } catch (Throwable t ) { + t.printStackTrace(); + } finally { context.release(); } |