Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrschnekenbu2013-04-22 12:13:11 -0400
committerrschnekenbu2013-04-22 12:13:11 -0400
commita313bfb0509ee88de4f0d3f2a2fc58f54d1dc114 (patch)
treea15e3ca4fff08206144b07defcb0af155e25bc7d
parente14ce3097bd532e46ada74b7714189d7eb043226 (diff)
downloadorg.eclipse.papyrus-a313bfb0509ee88de4f0d3f2a2fc58f54d1dc114.tar.gz
org.eclipse.papyrus-a313bfb0509ee88de4f0d3f2a2fc58f54d1dc114.tar.xz
org.eclipse.papyrus-a313bfb0509ee88de4f0d3f2a2fc58f54d1dc114.zip
348521: [Class Diagram] Can only add Class in Class nested classifier compartment
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348521 - existing bug on UML 2.4.1 Kepler implementation not to ignore
-rw-r--r--tests/junit/plugins/uml/org.eclipse.papyrus.diagram.clazz.tests/test/org/eclipse/papyrus/diagram/clazz/test/canonical/TestClassDiagramChildLabel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/junit/plugins/uml/org.eclipse.papyrus.diagram.clazz.tests/test/org/eclipse/papyrus/diagram/clazz/test/canonical/TestClassDiagramChildLabel.java b/tests/junit/plugins/uml/org.eclipse.papyrus.diagram.clazz.tests/test/org/eclipse/papyrus/diagram/clazz/test/canonical/TestClassDiagramChildLabel.java
index 031ae60e760..7b6deb941e1 100644
--- a/tests/junit/plugins/uml/org.eclipse.papyrus.diagram.clazz.tests/test/org/eclipse/papyrus/diagram/clazz/test/canonical/TestClassDiagramChildLabel.java
+++ b/tests/junit/plugins/uml/org.eclipse.papyrus.diagram.clazz.tests/test/org/eclipse/papyrus/diagram/clazz/test/canonical/TestClassDiagramChildLabel.java
@@ -24,6 +24,7 @@ import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassOperationCompartmen
import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ComponentAttributeCompartmentEditPart;
import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ComponentNestedClassifierCompartmentEditPart;
import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ComponentOperationCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.EnumerationEnumerationLiteralCompartmentEditPart;
import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InstanceSpecificationSlotCompartmentEditPart;
import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceAttributeCompartmentEditPart;
import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceNestedClassifierCompartmentEditPart;
@@ -167,7 +168,7 @@ public class TestClassDiagramChildLabel extends TestChildLabel {
@Test
public void testToManageEnumerationLiteralEnumeration() {
//Enumeration
- //testToManageTopNode(UMLElementTypes.Enumeration_2006, UMLElementTypes.EnumerationLiteral_3017, EnumerationEnumerationLiteralCompartmentEditPart.VISUAL_ID);
+ testToManageTopNode(UMLElementTypes.Enumeration_2006, UMLElementTypes.EnumerationLiteral_3017, EnumerationEnumerationLiteralCompartmentEditPart.VISUAL_ID);
}
@Test

Back to the top