commit | 559e743e8c7b3723ab72ed9e160b8da62c19de55 | [log] [tgz] |
---|---|---|
author | Ed Willink <ed@willink.me.uk> | Sun Sep 25 17:37:01 2022 +0100 |
committer | Ed Willink <ed@willink.me.uk> | Sun Sep 25 18:28:30 2022 +0100 |
tree | 8f3e52ad987c11126a80555b6404fd5109c5ccc1 | |
parent | 34f237a41f592b54909578bdcd8f03091e0f3564 [diff] |
[544796] Use correct model path for compatibility execute command
diff --git a/tests/org.eclipse.ocl.examples.xtext.tests/src/org/eclipse/ocl/examples/test/standalone/StandaloneExecutionTests.java b/tests/org.eclipse.ocl.examples.xtext.tests/src/org/eclipse/ocl/examples/test/standalone/StandaloneExecutionTests.java index 5b7c8cc..2d99796 100644 --- a/tests/org.eclipse.ocl.examples.xtext.tests/src/org/eclipse/ocl/examples/test/standalone/StandaloneExecutionTests.java +++ b/tests/org.eclipse.ocl.examples.xtext.tests/src/org/eclipse/ocl/examples/test/standalone/StandaloneExecutionTests.java
@@ -316,10 +316,10 @@ String logFileName = getXMLLogFileName(); String testPath; if (CGUtil.isMavenSurefire()) { - testPath = "../../models/standalone/EcoreTestFile.ecore#//BadClass"; + testPath = "../../../" + PivotTestCase.PLUGIN_ID + "/models/standalone/EcoreTestFile.ecore#//BadClass"; } else if (CGUtil.isTychoSurefire()) { - testPath = "models/standalone/EcoreTestFile.ecore#//BadClass"; + testPath = "../" + PivotTestCase.PLUGIN_ID + "/models/standalone/EcoreTestFile.ecore#//BadClass"; } else { testPath = testProject.getName() + "/EcoreTestFile.ecore#//BadClass";