From 8bcfb75d5812cc590f362bcc078bc15e3d975cf2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 25 Jun 2013 10:41:37 +0200 Subject: CLCommandQueueTest: Remove warning .. --- test/com/jogamp/opencl/CLCommandQueueTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/com') diff --git a/test/com/jogamp/opencl/CLCommandQueueTest.java b/test/com/jogamp/opencl/CLCommandQueueTest.java index f5438d4..5768981 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(); } -- cgit v1.2.3