Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnConstraintBlock.java')
-rw-r--r--tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnConstraintBlock.java62
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnConstraintBlock.java b/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnConstraintBlock.java
index 8d6296cf25e..86db8903754 100644
--- a/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnConstraintBlock.java
+++ b/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnConstraintBlock.java
@@ -2,7 +2,7 @@ package org.eclipse.papyrus.sysml.diagram.blockdefinition.tests.creation.custom;
import static org.eclipse.papyrus.sysml.diagram.blockdefinition.tests.utils.EditorUtils.getDiagramView;
import static org.eclipse.papyrus.sysml.diagram.blockdefinition.tests.utils.TestPrepareUtils.createGraphicalNode;
-import static org.eclipse.papyrus.sysml.diagram.blockdefinition.tests.utils.TestUtils.createFromPalette;
+import static org.eclipse.papyrus.sysml.diagram.blockdefinition.tests.utils.TestUtils.createNodeFromPalette;
import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil;
import org.eclipse.gmf.runtime.notation.View;
@@ -26,7 +26,7 @@ public class TestNodeCreationOnConstraintBlock extends AbstractTest {
// force inherited provider loading...
createGraphicalNode(UMLElementTypes.PACKAGE, ElementTypes.PACKAGE.getSemanticHint(), getDiagramView());
- createFromPalette("blockdefinition.tool.constraintblock", getDiagramView(), true);
+ createNodeFromPalette("blockdefinition.tool.constraintblock", getDiagramView(), true);
containerView = ViewUtil.getChildBySemanticHint(getDiagramView(), SysMLGraphicalTypes.SHAPE_SYSML_CONSTRAINTBLOCK_AS_CLASSIFIER_ID);
if(containerView == null) {
@@ -40,146 +40,146 @@ public class TestNodeCreationOnConstraintBlock extends AbstractTest {
@Test
public void createActor() throws Exception {
- createFromPalette("blockdefinition.tool.actor", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.actor", containerView, false);
}
@Test
public void createBlock() throws Exception {
- createFromPalette("blockdefinition.tool.block", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.block", containerView, false);
}
@Test
public void createComment() throws Exception {
- createFromPalette("blockdefinition.tool.comment", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.comment", containerView, false);
}
@Test
public void createConstraint() throws Exception {
- createFromPalette("blockdefinition.tool.constraint", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.constraint", containerView, false);
}
@Test
public void createConstraintBlock() throws Exception {
- createFromPalette("blockdefinition.tool.constraintblock", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.constraintblock", containerView, false);
}
@Test
public void createConstraintProperty() throws Exception {
- createFromPalette("blockdefinition.tool.constraintproperty", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.constraintproperty", containerView, false);
}
@Test
public void createDataType() throws Exception {
- createFromPalette("blockdefinition.tool.datatype", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.datatype", containerView, false);
}
@Test
public void createDimension() throws Exception {
- createFromPalette("blockdefinition.tool.dimension", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.dimension", containerView, false);
}
@Test
public void createEnumeration() throws Exception {
- createFromPalette("blockdefinition.tool.enumeration", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.enumeration", containerView, false);
}
@Test
public void createEnumerationLiteral() throws Exception {
- createFromPalette("blockdefinition.tool.enumerationliteral", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.enumerationliteral", containerView, false);
}
@Test
public void createFlowPort() throws Exception {
- createFromPalette("blockdefinition.tool.flowport", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.flowport", containerView, false);
}
@Test
public void createFlowProperty() throws Exception {
- createFromPalette("blockdefinition.tool.flowproperty", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.flowproperty", containerView, false);
}
@Test
public void createFlowSpecification() throws Exception {
- createFromPalette("blockdefinition.tool.flowspecification", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.flowspecification", containerView, false);
}
@Test
public void createInstanceSpecification() throws Exception {
- createFromPalette("blockdefinition.tool.instancespecification", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.instancespecification", containerView, false);
}
@Test
public void createInterface() throws Exception {
- createFromPalette("blockdefinition.tool.interface", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.interface", containerView, false);
}
@Test
public void createModel() throws Exception {
- createFromPalette("blockdefinition.tool.model", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.model", containerView, false);
}
@Test
public void createOperation() throws Exception {
- createFromPalette("blockdefinition.tool.operation", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.operation", containerView, false);
}
@Test
public void createPackage() throws Exception {
- createFromPalette("blockdefinition.tool.package", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.package", containerView, false);
}
@Test
public void createPart() throws Exception {
- createFromPalette("blockdefinition.tool.part", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.part", containerView, false);
}
@Test
public void createPort() throws Exception {
- createFromPalette("blockdefinition.tool.port", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.port", containerView, false);
}
@Test
public void createPrimitiveType() throws Exception {
- createFromPalette("blockdefinition.tool.primitivetype", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.primitivetype", containerView, false);
}
@Test
public void createProperty() throws Exception {
- createFromPalette("blockdefinition.tool.property", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.property", containerView, false);
}
@Test
public void createReception() throws Exception {
- createFromPalette("blockdefinition.tool.reception", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.reception", containerView, false);
}
@Test
public void createReference() throws Exception {
- createFromPalette("blockdefinition.tool.reference", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.reference", containerView, false);
}
@Test
public void createSignal() throws Exception {
- createFromPalette("blockdefinition.tool.signal", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.signal", containerView, false);
}
@Test
public void createSlot() throws Exception {
- createFromPalette("blockdefinition.tool.slot", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.slot", containerView, false);
}
@Test
public void createUnit() throws Exception {
- createFromPalette("blockdefinition.tool.unit", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.unit", containerView, false);
}
@Test
public void createValue() throws Exception {
- createFromPalette("blockdefinition.tool.value", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.value", containerView, false);
}
@Test
public void createValueType() throws Exception {
- createFromPalette("blockdefinition.tool.valuetype", containerView, false);
+ createNodeFromPalette("blockdefinition.tool.valuetype", containerView, false);
}
}

Back to the top