]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSSuite.java
Fixing NPE with modelled tests
[simantics/platform.git] / bundles / org.simantics.tests.modelled / src / org / simantics / tests / modelled / utils / ModelledSTSSuite.java
index 7ccb3ccd358f52b7b443476ff8ade20b8c05883b..87f95ca1f64b7112cf17382bcdeacad6ea0c4339 100644 (file)
@@ -20,14 +20,16 @@ public class ModelledSTSSuite {
 
     private String name;
     private List<ModelledSTSTest> children;
 
     private String name;
     private List<ModelledSTSTest> children;
+    private int priority;
     private String moduleNameFilter;
     private List<Pattern> moduleNameFilterPatterns = new ArrayList<>();
 
     private CoverageBuilder coverageBuilder;
     private Map<String, String> variables;
 
     private String moduleNameFilter;
     private List<Pattern> moduleNameFilterPatterns = new ArrayList<>();
 
     private CoverageBuilder coverageBuilder;
     private Map<String, String> variables;
 
-    ModelledSTSSuite(String name, List<ModelledSTSTest> children, String moduleNameFilter, Map<String, String> variables) {
+    ModelledSTSSuite(String name, List<ModelledSTSTest> children, String moduleNameFilter, int priority, Map<String, String> variables) {
         this.name = name;
         this.name = name;
+        this.priority = priority;
         this.children = children;
         this.variables = variables;
         this.moduleNameFilter = moduleNameFilter;
         this.children = children;
         this.variables = variables;
         this.moduleNameFilter = moduleNameFilter;
@@ -121,4 +123,8 @@ public class ModelledSTSSuite {
         return moduleNameFilterPatterns;
     }
 
         return moduleNameFilterPatterns;
     }
 
+    public int getPriority() {
+        return priority;
+    }
+
 }
 }