X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.tests.modelled%2Fsrc%2Forg%2Fsimantics%2Ftests%2Fmodelled%2Fjunit%2Fv2%2FModelledSTSTestRunner.java;h=204df96c3f968bdf5f5f1b9dde9a85bc39310f6b;hp=5f8ea6c16117fe90f4e4bad19b7095a54200e756;hb=597687a4e41e9892a4b40e0de05183d930e6cc32;hpb=4789a20d317a245e03096df441baba1ab338c1f0 diff --git a/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSTestRunner.java b/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSTestRunner.java index 5f8ea6c16..204df96c3 100644 --- a/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSTestRunner.java +++ b/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSTestRunner.java @@ -5,7 +5,6 @@ import java.util.List; import org.junit.runner.Description; import org.junit.runner.Runner; -import org.junit.runner.notification.Failure; import org.junit.runner.notification.RunNotifier; import org.simantics.tests.modelled.utils.ModelledSTSTest; import org.simantics.tests.modelled.utils.ModelledSTSTest.CommandSessionVariable; @@ -22,7 +21,7 @@ public class ModelledSTSTestRunner extends Runner { @Override public Description getDescription() { if (description == null) - description = Description.createTestDescription(ModelledSTSTestRunner.class, test.getName()); + description = Description.createTestDescription(test.getParentName(), test.getName(), new Integer(test.hashCode())); return description; }