aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-25 13:48:36 +0100
committerSven Gothel <[email protected]>2015-03-25 13:48:36 +0100
commit1608c8a7e616994ffb50339dbb2c5121c8060b53 (patch)
tree42c631b45f3d452ff845ca3b46c5b0e1033b84f4 /src/test/java/com/jogamp/gluegen/jcpp/CppReaderTest.java
parent4f1561336f4867e97cd8a6ad05b883e2058556a3 (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.java6
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" ;