diff options
author | Sven Gothel <[email protected]> | 2014-10-03 04:43:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-03 04:43:51 +0200 |
commit | fb60db3a633d82a0323f066a98a8a9fadf3ecff5 (patch) | |
tree | 17ff9cb71b0652f4086880c5b0aedf54084ceb74 /src/junit/com/jogamp/common/util/locks | |
parent | bd240ebfe09b7c7a21689dee8be0cc673eb7f340 (diff) |
SingletonTestCase: Move singleton test impl. from JOGL's UITestCase, inherit from JunitTracer and use it for all tests.
- Certain performance tests don't make sense utilizing several jenkins unit tests on one machine,
hence singleton test execution is desired.
- JOGL's UITestCase also will derive from this SingletonTestCase
Diffstat (limited to 'src/junit/com/jogamp/common/util/locks')
-rw-r--r-- | src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java | 4 | ||||
-rw-r--r-- | src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java index 26677c0..09d96f2 100644 --- a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java +++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java @@ -38,13 +38,13 @@ import org.junit.Assert; import org.junit.Test; import com.jogamp.common.os.Platform; -import com.jogamp.junit.util.JunitTracer; +import com.jogamp.junit.util.SingletonTestCase; import org.junit.FixMethodOrder; import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestRecursiveLock01 extends JunitTracer { +public class TestRecursiveLock01 extends SingletonTestCase { public enum YieldMode { NONE(0), YIELD(1), SLEEP(2); diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java index b361463..b338abe 100644 --- a/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java +++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java @@ -34,13 +34,13 @@ import org.junit.Assert; import org.junit.Test; import com.jogamp.common.os.Platform; -import com.jogamp.junit.util.JunitTracer; +import com.jogamp.junit.util.SingletonTestCase; import org.junit.FixMethodOrder; import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestRecursiveThreadGroupLock01 extends JunitTracer { +public class TestRecursiveThreadGroupLock01 extends SingletonTestCase { public enum YieldMode { NONE(0), YIELD(1), SLEEP(2); |