diff options
author | Sven Gothel <[email protected]> | 2014-10-03 05:49:57 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-03 05:49:57 +0200 |
commit | 773d96584b4edc13eb6ff689eaf891aab09aa5a4 (patch) | |
tree | b670122688f8c6f327664f600fc13d2f54f906f7 /src/junit/com/jogamp/common/util/TestBitstream01.java | |
parent | db12572b4f674884c3f7ad8f7e15ba9e97cf865a (diff) |
SingletonTestCase -> SingletonJunitCase: Accomodate ClassLoader lifecycle of static fields; Change name to avoid testing itself.
Diffstat (limited to 'src/junit/com/jogamp/common/util/TestBitstream01.java')
-rw-r--r-- | src/junit/com/jogamp/common/util/TestBitstream01.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/junit/com/jogamp/common/util/TestBitstream01.java b/src/junit/com/jogamp/common/util/TestBitstream01.java index bd8f563..99116e6 100644 --- a/src/junit/com/jogamp/common/util/TestBitstream01.java +++ b/src/junit/com/jogamp/common/util/TestBitstream01.java @@ -34,7 +34,7 @@ import java.nio.ByteBuffer; import org.junit.Assert; import org.junit.Test; -import com.jogamp.junit.util.SingletonTestCase; +import com.jogamp.junit.util.SingletonJunitCase; import static com.jogamp.common.util.BitstreamData.*; import org.junit.FixMethodOrder; @@ -53,7 +53,7 @@ import org.junit.runners.MethodSorters; * </ul> */ @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestBitstream01 extends SingletonTestCase { +public class TestBitstream01 extends SingletonJunitCase { Bitstream<ByteBuffer> getTestStream(final boolean msbFirst, final int preBits, final int skipBits, final int postBits) throws IOException { final int byteCount = ( preBits + skipBits + postBits + 7 ) / 8; |