Fixing modelled STS tests to not include nested JUnit suites
[simantics/platform.git] / bundles / org.simantics.tests.modelled / src / org / simantics / tests / modelled / junit / RuntimeSTSRunner.java
index 6f9bda06a2caaae035e8a8f56ac0f3bc0ec7edc3..e85d2f7d7925bf384aa386c2b35bf45c99fb9dd3 100644 (file)
@@ -10,7 +10,7 @@ import org.junit.runner.notification.RunListener;
 import org.junit.runner.notification.RunNotifier;\r
 import org.junit.runners.ParentRunner;\r
 \r
-public abstract class RuntimeSTSRunner extends ParentRunner<Runner> {\r
+public abstract class RuntimeSTSRunner<T extends Runner> extends ParentRunner<T> {\r
 \r
     public RuntimeSTSRunner(Class<?> testClass) throws Exception {\r
         super(testClass);\r
@@ -20,12 +20,6 @@ public abstract class RuntimeSTSRunner extends ParentRunner<Runner> {
 \r
     public abstract void deinitialize() throws Exception;\r
 \r
-    @Override\r
-    protected List<Runner> getChildren() {\r
-        System.out.println("getting children");\r
-        return RuntimeTestCollector.collectTests();\r
-    }\r
-\r
     @Override\r
     protected Description describeChild(Runner child) {\r
         return child.getDescription();\r