From: jsimomaa Date: Mon, 19 Dec 2016 15:03:40 +0000 (+0200) Subject: Fixing modelled STS tests to not include nested JUnit suites X-Git-Tag: v1.26.0~22 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F214%2F1;p=simantics%2Fplatform.git Fixing modelled STS tests to not include nested JUnit suites refs #6884 Change-Id: Ia86e62bae10e6ef12922e168231917bda40fc002 --- diff --git a/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/RuntimeSTSRunner.java b/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/RuntimeSTSRunner.java index 6f9bda06a..e85d2f7d7 100644 --- a/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/RuntimeSTSRunner.java +++ b/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/RuntimeSTSRunner.java @@ -10,7 +10,7 @@ import org.junit.runner.notification.RunListener; import org.junit.runner.notification.RunNotifier; import org.junit.runners.ParentRunner; -public abstract class RuntimeSTSRunner extends ParentRunner { +public abstract class RuntimeSTSRunner extends ParentRunner { public RuntimeSTSRunner(Class testClass) throws Exception { super(testClass); @@ -20,12 +20,6 @@ public abstract class RuntimeSTSRunner extends ParentRunner { public abstract void deinitialize() throws Exception; - @Override - protected List getChildren() { - System.out.println("getting children"); - return RuntimeTestCollector.collectTests(); - } - @Override protected Description describeChild(Runner child) { return child.getDescription();