From 1ee238f6b3803cc07932496beb51a38afa2ae01c Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 19 Dec 2016 17:03:40 +0200 Subject: [PATCH 1/1] Fixing modelled STS tests to not include nested JUnit suites refs #6884 Change-Id: Ia86e62bae10e6ef12922e168231917bda40fc002 --- .../simantics/tests/modelled/junit/RuntimeSTSRunner.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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(); -- 2.43.2