Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvlorenzo2013-06-17 12:23:32 +0000
committervlorenzo2013-06-17 12:23:32 +0000
commit244eb8800eaa3c7b24d9fb62a1b1213edca748b7 (patch)
treeab276f791e7a1b37c78f47a9443bc43bd982788d /tests
parent7393d76c8be3937bdca4a97394051bb34727a51c (diff)
downloadorg.eclipse.papyrus-244eb8800eaa3c7b24d9fb62a1b1213edca748b7.tar.gz
org.eclipse.papyrus-244eb8800eaa3c7b24d9fb62a1b1213edca748b7.tar.xz
org.eclipse.papyrus-244eb8800eaa3c7b24d9fb62a1b1213edca748b7.zip
410912: [UML] Papyrus must provides Tests for the class UMLStereotypePropertyContentProvider
https://bugs.eclipse.org/bugs/show_bug.cgi?id=410912 Externalize strings
Diffstat (limited to 'tests')
-rw-r--r--tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/UMLStereotypePropertyContentProviderTest.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/UMLStereotypePropertyContentProviderTest.java b/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/UMLStereotypePropertyContentProviderTest.java
index 0190a72de94..3b3ef6b3ec4 100644
--- a/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/UMLStereotypePropertyContentProviderTest.java
+++ b/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/UMLStereotypePropertyContentProviderTest.java
@@ -75,34 +75,34 @@ public class UMLStereotypePropertyContentProviderTest {
@Before
public void init() {
try {
- EObject testModel = EMFHelper.loadEMFModel(new ResourceSetImpl(), URI.createPlatformPluginURI(Activator.PLUGIN_ID + "/resources/uml/profileTest.profile.uml", true));
+ EObject testModel = EMFHelper.loadEMFModel(new ResourceSetImpl(), URI.createPlatformPluginURI(Activator.PLUGIN_ID + "/resources/uml/profileTest.profile.uml", true)); //$NON-NLS-1$
Assert.assertTrue(testModel instanceof Profile);
rootProfile = (Profile)testModel;
} catch (IOException ex) {
Activator.log.error(ex);
}
- assertNotNull("Cannot load the EMF Tests model", rootProfile);
+ assertNotNull("Cannot load the EMF Tests model", rootProfile); //$NON-NLS-1$
- subProfile1 = (Profile)rootProfile.getPackagedElement("Profile1");
- subProfile2 = (Profile)rootProfile.getPackagedElement("Profile2");
+ subProfile1 = (Profile)rootProfile.getPackagedElement("Profile1"); //$NON-NLS-1$
+ subProfile2 = (Profile)rootProfile.getPackagedElement("Profile2"); //$NON-NLS-1$
Assert.assertNotNull(subProfile1);
Assert.assertNotNull(subProfile2);
- ste1 = (Stereotype)subProfile1.getMember("Stereotype1");
- ste2 = (Stereotype)subProfile2.getMember("Stereotype2");
+ ste1 = (Stereotype)subProfile1.getMember("Stereotype1"); //$NON-NLS-1$
+ ste2 = (Stereotype)subProfile2.getMember("Stereotype2"); //$NON-NLS-1$
Assert.assertNotNull(ste1);
Assert.assertNotNull(ste2);
- prop1 = (Property)ste1.getMember("prop1");
- prop2 = (Property)ste2.getMember("prop2");
+ prop1 = (Property)ste1.getMember("prop1"); //$NON-NLS-1$
+ prop2 = (Property)ste2.getMember("prop2"); //$NON-NLS-1$
Assert.assertNotNull(prop1);
Assert.assertNotNull(prop2);
- basePropSte1 = (Property)ste1.getMember("base_Activity");
- basePropSte2 = (Property)ste2.getMember("base_Class");
+ basePropSte1 = (Property)ste1.getMember("base_Activity"); //$NON-NLS-1$
+ basePropSte2 = (Property)ste2.getMember("base_Class"); //$NON-NLS-1$
Assert.assertNotNull(basePropSte1);
Assert.assertNotNull(basePropSte2);

Back to the top