From 773d96584b4edc13eb6ff689eaf891aab09aa5a4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 3 Oct 2014 05:49:57 +0200 Subject: SingletonTestCase -> SingletonJunitCase: Accomodate ClassLoader lifecycle of static fields; Change name to avoid testing itself. --- src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java') diff --git a/src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java b/src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java index 926ea49..bef813b 100644 --- a/src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java +++ b/src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java @@ -35,7 +35,7 @@ import java.nio.channels.FileChannel; import org.junit.Assert; import org.junit.Test; -import com.jogamp.junit.util.SingletonTestCase; +import com.jogamp.junit.util.SingletonJunitCase; import org.junit.FixMethodOrder; import org.junit.runners.MethodSorters; @@ -45,7 +45,7 @@ import org.junit.runners.MethodSorters; * direct stream to stream copy via mapped buffers. */ @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestByteBufferCopyStream extends SingletonTestCase { +public class TestByteBufferCopyStream extends SingletonJunitCase { static void testImpl(final String srcFileName, final long size, final MappedByteBufferInputStream.CacheMode srcCacheMode, final int srcSliceShift, -- cgit v1.2.3