diff options
author | Sven Gothel <[email protected]> | 2013-08-31 16:38:56 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-08-31 16:38:56 +0200 |
commit | 70c9ba258c5ba3d78f0f52faf37d88b4c62d0c96 (patch) | |
tree | 8f37d8de88417e29ee59dac077dd216a4eea8cf7 /src/junit/com/jogamp/common/nio | |
parent | 10a28c860bd3f4ccecef156c9bbbc88087bf568d (diff) |
Add '@FixMethodOrder(MethodSorters.NAME_ASCENDING)' to all *Test* classes
Diffstat (limited to 'src/junit/com/jogamp/common/nio')
5 files changed, 20 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/common/nio/BuffersTest.java b/src/junit/com/jogamp/common/nio/BuffersTest.java index 02c246f..9ad7823 100644 --- a/src/junit/com/jogamp/common/nio/BuffersTest.java +++ b/src/junit/com/jogamp/common/nio/BuffersTest.java @@ -41,6 +41,10 @@ import static org.junit.Assert.*; /** * @author Michael Bien */ +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class BuffersTest extends JunitTracer { @Test diff --git a/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java b/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java index 326b4cf..b0cd49e 100644 --- a/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java +++ b/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java @@ -51,6 +51,10 @@ import static org.junit.Assert.*; * * @author Michael Bien */ +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class CachedBufferFactoryTest extends JunitTracer { 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 439ff08..192a49e 100644 --- a/src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java +++ b/src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java @@ -35,6 +35,10 @@ import org.junit.Test; import com.jogamp.junit.util.JunitTracer; +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestBuffersFloatDoubleConversion extends JunitTracer { public static boolean cmpFloatArray(float[] d1, int d1_offset, float[] d2, int d2_offset, int len) { diff --git a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java index c40d1d3..3a1c584 100644 --- a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java +++ b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java @@ -11,6 +11,10 @@ import org.junit.Test; import static java.lang.System.*; +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestPointerBufferEndian extends JunitTracer { protected void testImpl (boolean direct) { diff --git a/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java b/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java index 6d8ed88..62eccf0 100644 --- a/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java +++ b/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java @@ -12,6 +12,10 @@ import com.jogamp.common.os.MachineDescription; import com.jogamp.common.os.Platform; import com.jogamp.junit.util.JunitTracer; +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestStructAccessorEndian extends JunitTracer { @Test |