comparison src/jungle/test/codesegment/practice/StartJungleCodeSegment.java @ 19:08e283ede7c9

fix TestPutAttributeCodeSegment
author one
date Fri, 28 Jun 2013 19:44:05 +0900
parents 2f1132767af2
children 506388c02b4b
comparison
equal deleted inserted replaced
18:2f1132767af2 19:08e283ede7c9
15 public static void main(String[] args) { 15 public static void main(String[] args) {
16 System.out.println("--StartJungleCodeSegment--"); 16 System.out.println("--StartJungleCodeSegment--");
17 17
18 JungleManager jm = new JungleManager(); 18 JungleManager jm = new JungleManager();
19 JungleTree tree = jm.createNewTree("tree"); 19 JungleTree tree = jm.createNewTree("tree");
20
21
22 TestPutAttributeCodeSegment cs = new TestPutAttributeCodeSegment(); 20 TestPutAttributeCodeSegment cs = new TestPutAttributeCodeSegment();
23 DefaultTreeOperation treeOp = cs.getSampleOperation(); 21 DefaultTreeOperation treeOp = cs.getSampleOperation("message0");
24
25
26 DefaultTreeOperationContainer treeOperationContainer = new DefaultTreeOperationContainer(); 22 DefaultTreeOperationContainer treeOperationContainer = new DefaultTreeOperationContainer();
27 try { 23 try {
28 treeOperationContainer.unconvert(treeOp); 24 treeOperationContainer.unconvert(treeOp);
29 } catch (IOException e) { 25 } catch (IOException e) {
30 e.printStackTrace(); 26 e.printStackTrace();
31 } 27 }
32 cs.ods.update("local", "log", treeOperationContainer); 28 cs.ods.update("local", "log", treeOperationContainer);
33
34
35 } 29 }
36 30
37 } 31 }