Mercurial > hg > Database > jungle-network
changeset 24:2a378b94cc55
use NetworkDefaultTreeEditor
author | one |
---|---|
date | Sun, 30 Jun 2013 04:32:37 +0900 |
parents | 3e089e8ad225 |
children | 2232263d449b |
files | src/jungle/test/codesegment/practice/JungleManager.java src/jungle/test/codesegment/practice/TestPutAttributeCodeSegment.java |
diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jungle/test/codesegment/practice/JungleManager.java Sun Jun 30 04:30:32 2013 +0900 +++ b/src/jungle/test/codesegment/practice/JungleManager.java Sun Jun 30 04:32:37 2013 +0900 @@ -8,9 +8,7 @@ import jungle.test.core.NetworkDefaultJungle; public class JungleManager { - -// static Jungle jungle = new NetworkDefaultJungle(null,"hoge",new DefaultTreeEditor(new DefaultTraverser())); - static Jungle jungle = new DefaultJungle(null,"hoge",new DefaultTreeEditor(new DefaultTraverser())); + static Jungle jungle = new NetworkDefaultJungle(null,"hoge",new DefaultTreeEditor(new DefaultTraverser())); public JungleManager() {
--- a/src/jungle/test/codesegment/practice/TestPutAttributeCodeSegment.java Sun Jun 30 04:30:32 2013 +0900 +++ b/src/jungle/test/codesegment/practice/TestPutAttributeCodeSegment.java Sun Jun 30 04:32:37 2013 +0900 @@ -52,9 +52,8 @@ } Jungle jungle = new JungleManager().getJungle(); JungleTree tree = jungle.getTreeByName("tree"); -// NetworkDefaultJungleTreeEditor editor = (NetworkDefaultJungleTreeEditor) tree.getTreeEditor(); -// edit(editor, convertedOp); - JungleTreeEditor editor = tree.getTreeEditor(); + NetworkDefaultJungleTreeEditor editor = (NetworkDefaultJungleTreeEditor) tree.getTreeEditor(); + edit(editor, convertedOp); editor.success(); if (arg1.index >= 10) { new ShowAttribute();