summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-10 07:30:26 (EDT)
committerEike Stepper2006-08-10 07:30:26 (EDT)
commit2f01dfe18b0563871e56c094f710945212db943f (patch)
tree3623ec3cdbe4420497affd90b29345082a334f6f
parent48115643beecfb3da4dcb2f5f3b9b765b9f4ab46 (diff)
downloadcdo-2f01dfe18b0563871e56c094f710945212db943f.zip
cdo-2f01dfe18b0563871e56c094f710945212db943f.tar.gz
cdo-2f01dfe18b0563871e56c094f710945212db943f.tar.bz2
*** empty log message ***
-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 f7db35b..9493eeb 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();