diff options
author | Sven Gothel <[email protected]> | 2011-11-22 12:32:35 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-22 12:32:35 +0100 |
commit | 1467d813c86d2c7c3d2dfbbb94a872aeceffe331 (patch) | |
tree | 478871de2f1d2c537f5cd8824f7975218db4a7c0 /src/junit/com/jogamp/common | |
parent | 43b7675259eb76c570b6cc3a44fec2b9f6410697 (diff) |
Add assertion to RunnableTask test case (forgot in commit: 43b7675259eb76c570b6cc3a44fec2b9f6410697)
Diffstat (limited to 'src/junit/com/jogamp/common')
-rw-r--r-- | src/junit/com/jogamp/common/util/TestRunnableTask01.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/common/util/TestRunnableTask01.java b/src/junit/com/jogamp/common/util/TestRunnableTask01.java index 56beaa4..f72a7a7 100644 --- a/src/junit/com/jogamp/common/util/TestRunnableTask01.java +++ b/src/junit/com/jogamp/common/util/TestRunnableTask01.java @@ -31,6 +31,7 @@ package com.jogamp.common.util; import java.io.IOException; import java.lang.reflect.InvocationTargetException; +import org.junit.Assert; import org.junit.Test; public class TestRunnableTask01 { @@ -61,7 +62,8 @@ public class TestRunnableTask01 { } catch (InterruptedException e) { throw new RuntimeException(e); } - System.err.println("BB.X"); + Assert.assertTrue(done[0]); + System.err.println("BB.X"); } } @@ -88,6 +90,7 @@ public class TestRunnableTask01 { } catch (InterruptedException e) { throw new RuntimeException(e); } + Assert.assertTrue(done[0]); System.err.println("BB.X"); } } |