diff options
author | Sven Gothel <[email protected]> | 2011-12-02 02:38:12 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-12-02 02:38:12 +0100 |
commit | 28f9b90a728ef1d683fa53d9c521af27a389baaf (patch) | |
tree | 6581f8691b0d165a265c9bfe81ca1c67837f36b1 /src/junit/com/jogamp/common/nio | |
parent | 2a461c6dc4e4ce01bdfe114e72cc69ec08fb2390 (diff) |
Fix Test1p2ProcAddressEmitter (static var); Add TestTracer
Diffstat (limited to 'src/junit/com/jogamp/common/nio')
5 files changed, 13 insertions, 5 deletions
diff --git a/src/junit/com/jogamp/common/nio/BuffersTest.java b/src/junit/com/jogamp/common/nio/BuffersTest.java index 836e46d..675f8e1 100644 --- a/src/junit/com/jogamp/common/nio/BuffersTest.java +++ b/src/junit/com/jogamp/common/nio/BuffersTest.java @@ -34,12 +34,14 @@ package com.jogamp.common.nio; import java.nio.IntBuffer; import org.junit.Test; +import com.jogamp.junit.util.TestTracer; + import static org.junit.Assert.*; /** * @author Michael Bien */ -public class BuffersTest { +public class BuffersTest extends TestTracer { @Test public void slice() { diff --git a/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java b/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java index a00f4c9..4157bdf 100644 --- a/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java +++ b/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java @@ -42,6 +42,8 @@ import org.junit.After; import org.junit.Before; import org.junit.Test; +import com.jogamp.junit.util.TestTracer; + import static java.lang.System.*; import static org.junit.Assert.*; @@ -49,7 +51,7 @@ import static org.junit.Assert.*; * * @author Michael Bien */ -public class CachedBufferFactoryTest { +public class CachedBufferFactoryTest extends TestTracer { private final int BUFFERCOUNT = 120; diff --git a/src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java b/src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java index 0555578..d62cd69 100644 --- a/src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java +++ b/src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java @@ -33,7 +33,9 @@ import org.junit.Assert; import org.junit.Test; -public class TestBuffersFloatDoubleConversion { +import com.jogamp.junit.util.TestTracer; + +public class TestBuffersFloatDoubleConversion extends TestTracer { public static boolean cmpFloatArray(float[] d1, int d1_offset, float[] d2, int d2_offset, int len) { if( d1.length - d1_offset < len) { diff --git a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java index 43d6a61..798457d 100644 --- a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java +++ b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java @@ -4,13 +4,14 @@ package com.jogamp.common.nio; import java.io.IOException; import com.jogamp.common.os.*; +import com.jogamp.junit.util.TestTracer; import org.junit.Assert; import org.junit.Test; import static java.lang.System.*; -public class TestPointerBufferEndian { +public class TestPointerBufferEndian extends TestTracer { protected void testImpl (boolean direct) { final MachineDescription machine = Platform.getMachineDescription(); diff --git a/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java b/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java index 4a9173e..5f13ec9 100644 --- a/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java +++ b/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java @@ -2,6 +2,7 @@ package com.jogamp.common.nio; import com.jogamp.common.os.*; import com.jogamp.gluegen.test.junit.generation.Test1p1JavaEmitter; +import com.jogamp.junit.util.TestTracer; import java.io.IOException; import java.nio.*; @@ -11,7 +12,7 @@ import org.junit.Test; import static java.lang.System.*; -public class TestStructAccessorEndian { +public class TestStructAccessorEndian extends TestTracer { @Test public void testStructAccessorEndian1 () { |