summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl/HighLevelBindingTest.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-01-02 00:15:55 +0100
committerMichael Bien <[email protected]>2010-01-02 00:15:55 +0100
commita5efe050242d1d6a45e03fcac1763ff90877e322 (patch)
treeb8135791915083d1e36b383a182f2973927c8ead /test/com/mbien/opencl/HighLevelBindingTest.java
parent72203a5d1f8896463ded10d1b21ca116621d1900 (diff)
introduced CLGLContext, refactored dependencies, cleanup in opencl code.
Diffstat (limited to 'test/com/mbien/opencl/HighLevelBindingTest.java')
-rw-r--r--test/com/mbien/opencl/HighLevelBindingTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/com/mbien/opencl/HighLevelBindingTest.java b/test/com/mbien/opencl/HighLevelBindingTest.java
index bd6d7179..42e74667 100644
--- a/test/com/mbien/opencl/HighLevelBindingTest.java
+++ b/test/com/mbien/opencl/HighLevelBindingTest.java
@@ -241,7 +241,7 @@ public class HighLevelBindingTest {
fail("expected exception but got none :(");
}catch(CLException ex) {
out.println("got expected exception:\n"+ex.getMessage());
- assertTrue(ex.errorcode == CL.CL_INVALID_PROGRAM_EXECUTABLE);
+ assertEquals(ex.errorcode, CL.CL_INVALID_PROGRAM_EXECUTABLE);
}
program.build();