diff options
author | Sven Gothel <[email protected]> | 2015-03-25 13:48:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-25 13:48:36 +0100 |
commit | 1608c8a7e616994ffb50339dbb2c5121c8060b53 (patch) | |
tree | 42c631b45f3d452ff845ca3b46c5b0e1033b84f4 /src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java | |
parent | 4f1561336f4867e97cd8a6ad05b883e2058556a3 (diff) |
Unit Tests: Extend SingletonJunitCase and use deterministic test order
Diffstat (limited to 'src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java')
-rw-r--r-- | src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java b/src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java index e4ef1c5..870663d 100644 --- a/src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java +++ b/src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java @@ -7,13 +7,17 @@ import java.util.Collections; import javax.annotation.Nonnull; +import org.junit.FixMethodOrder; import org.junit.Test; +import org.junit.runners.MethodSorters; import com.jogamp.gluegen.test.junit.generation.BuildEnvironment; +import com.jogamp.junit.util.SingletonJunitCase; import static org.junit.Assert.assertEquals; -public class CppReaderTest { +@FixMethodOrder(MethodSorters.NAME_ASCENDING) +public class CppReaderTest extends SingletonJunitCase { public static String testCppReader(@Nonnull final String in, final Feature... f) throws Exception { final String inclpath = BuildEnvironment.gluegenRoot + "/jcpp/src/test/resources" ; |