Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java
index f7db35bf4e..9493eebbe6 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java
@@ -25,7 +25,7 @@ public class Model1Test extends AbstractTopologyTest
public void testSimple() throws Exception
{
- TreeNode node = createNode("root", null);
+ TreeNode node = createNode("root");
createNode("node1", node);
createNode("node2", node);
createNode("node3", node);
@@ -42,6 +42,11 @@ public class Model1Test extends AbstractTopologyTest
assertEquals("node3", ((TreeNode) children.get(2)).getStringFeature());
}
+ protected TreeNode createNode(String name)
+ {
+ return createNode(name, null);
+ }
+
protected TreeNode createNode(String name, TreeNode parent)
{
TreeNode node = TestModel1Factory.eINSTANCE.createTreeNode();

Back to the top