Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Pascual2015-02-16 11:32:37 +0000
committerCamille Letavernier2015-03-10 09:39:48 +0000
commit6673d55fb3dd18fc8df26b3c8b21b93618ade2f9 (patch)
tree471d468852398a3f44259c3641c6754e196572c3 /tests/junit/plugins/uml/decoratormodel
parentc036a25da9a0080b7028e08bb47c862564d18619 (diff)
downloadorg.eclipse.papyrus-6673d55fb3dd18fc8df26b3c8b21b93618ade2f9.tar.gz
org.eclipse.papyrus-6673d55fb3dd18fc8df26b3c8b21b93618ade2f9.tar.xz
org.eclipse.papyrus-6673d55fb3dd18fc8df26b3c8b21b93618ade2f9.zip
Bug 459427: [Control Mode] Unit tests shall be improved to avoid
regression https://bugs.eclipse.org/bugs/show_bug.cgi?id=459427 - Refactor tests of Control Mode feature - Add parameter to set location of the submodel resource without UI inetraction - Remove SWTBot - Externalized String Change-Id: I7c2e7a36e719d57cb0683ffdf3389b7d2675efb5 Signed-off-by: Gabriel Pascual <gabriel.pascual@all4tec.net>
Diffstat (limited to 'tests/junit/plugins/uml/decoratormodel')
-rw-r--r--tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/src/org/eclipse/papyrus/uml/decoratormodel/controlmode/tests/AbstractDecoratorModelControlModeTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/src/org/eclipse/papyrus/uml/decoratormodel/controlmode/tests/AbstractDecoratorModelControlModeTest.java b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/src/org/eclipse/papyrus/uml/decoratormodel/controlmode/tests/AbstractDecoratorModelControlModeTest.java
index 21d493ecf0a..84536acc1a6 100644
--- a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/src/org/eclipse/papyrus/uml/decoratormodel/controlmode/tests/AbstractDecoratorModelControlModeTest.java
+++ b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/src/org/eclipse/papyrus/uml/decoratormodel/controlmode/tests/AbstractDecoratorModelControlModeTest.java
@@ -531,7 +531,7 @@ public abstract class AbstractDecoratorModelControlModeTest extends AbstractPapy
@SuppressWarnings("restriction")
protected Set<URI> getExternalProfiles(Package package_, String decoratorResourceKey) {
- final URI packageURI = EcoreUtil.getURI(getPackage2_1());
+ final URI packageURI = EcoreUtil.getURI(package_);
try {
return org.eclipse.papyrus.uml.decoratormodel.internal.resource.DecoratorModelIndex.getInstance().getAppliedProfiles(packageURI, createDecoratorModelURI(decoratorResourceKey));
} catch (CoreException e) {

Back to the top