summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-10 07:28:28 (EDT)
committerEike Stepper2006-08-10 07:28:28 (EDT)
commit48115643beecfb3da4dcb2f5f3b9b765b9f4ab46 (patch)
treec8ccb360c2a9652cbd07e9f8f3c01f748b48ef2a
parent464df8526f8f0673f743e861ca6a9ffbf68f40d8 (diff)
downloadcdo-48115643beecfb3da4dcb2f5f3b9b765b9f4ab46.zip
cdo-48115643beecfb3da4dcb2f5f3b9b765b9f4ab46.tar.gz
cdo-48115643beecfb3da4dcb2f5f3b9b765b9f4ab46.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java18
1 files changed, 9 insertions, 9 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 8e06c3e..f7db35b 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,17 +25,17 @@ public class Model1Test extends AbstractTopologyTest
public void testSimple() throws Exception
{
- TreeNode root = createNode("root", null);
- createNode("node1", root);
- createNode("node2", root);
- createNode("node3", root);
- saveRoot(root, PATH1);
+ TreeNode node = createNode("root", null);
+ createNode("node1", node);
+ createNode("node2", node);
+ createNode("node3", node);
+ saveRoot(node, PATH1);
- TreeNode n0 = (TreeNode) loadRoot(PATH1);
- assertNotNull(n0);
- assertEquals("root", n0.getStringFeature());
+ TreeNode root = (TreeNode) loadRoot(PATH1);
+ assertNotNull(root);
+ assertEquals("root", root.getStringFeature());
- EList children = n0.getChildren();
+ EList children = root.getChildren();
assertEquals(3, children.size());
assertEquals("node1", ((TreeNode) children.get(0)).getStringFeature());
assertEquals("node2", ((TreeNode) children.get(1)).getStringFeature());