Mercurial > hg > Database > Alice
diff src/alice/test/codesegment/local/TestCodeSegment.java @ 103:37f3483a869b working
remove bug from "CheckParentIndex" and "CheckLocalIndex"
author | sugi |
---|---|
date | Mon, 02 Jul 2012 11:16:01 +0900 |
parents | df786bf8f036 |
children | a8f77957a477 |
line wrap: on
line diff
--- a/src/alice/test/codesegment/local/TestCodeSegment.java Thu Jun 28 03:43:56 2012 +0900 +++ b/src/alice/test/codesegment/local/TestCodeSegment.java Mon Jul 02 11:16:01 2012 +0900 @@ -20,11 +20,13 @@ public void run() { System.out.println("index = " + arg1.index); System.out.println("data = " + arg1.val); + System.out.println("data = " + arg1.asClass(FishPoint.class)); System.out.println(arg1.val.getType()); + /* FishPoint PD = this.arg1.asClass(FishPoint.class); PD.setXY(PD.getX()+1,PD.getY()+1); - + */ if (arg1.index == 10) { System.exit(0); return; @@ -35,7 +37,7 @@ */ new TestCodeSegment(arg1.index); // DataSegment.get("local").update - ods.update("local", "key1", PD); + ods.update("local", "key1", this.arg1.asClass(FishPoint.class)); } }