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/gluegen | |
parent | 10a28c860bd3f4ccecef156c9bbbc88087bf568d (diff) |
Add '@FixMethodOrder(MethodSorters.NAME_ASCENDING)' to all *Test* classes
Diffstat (limited to 'src/junit/com/jogamp/gluegen')
4 files changed, 16 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java b/src/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java index 4c47a78..eceef19 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java @@ -47,6 +47,10 @@ import static org.junit.Assert.*; * serves mainly as entry point for debugging purposes. * @author Sven Gothel, Michael Bien */ +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class PCPPTest extends JunitTracer { @BeforeClass diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java b/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java index 60159be..bbf0398 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java @@ -40,6 +40,10 @@ import org.junit.Test; * @author Michael Bien * @author Sven Gothel */ +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class Test1p1JavaEmitter extends BaseClass { /** diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java b/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java index 64f17a5..a11489c 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java @@ -43,6 +43,10 @@ import org.junit.Test; * @author Michael Bien * @author Sven Gothel */ +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class Test1p2ProcAddressEmitter extends BaseClass { static NativeLibrary dynamicLookupHelper; diff --git a/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java b/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java index 444593d..23b1624 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java +++ b/src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java @@ -6,6 +6,10 @@ import com.jogamp.junit.util.JunitTracer; import org.junit.Assert; import org.junit.Test; +import org.junit.FixMethodOrder; +import org.junit.runners.MethodSorters; + +@FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestStructGen01 extends JunitTracer { // APT is only triggered for fields, |