diff src/alice/test/codesegment/local/StartCodeSegment.java @ 323:d746c4486287

work
author one
date Mon, 23 Dec 2013 17:13:16 +0900
parents f1f0638861ab
children
line wrap: on
line diff
--- a/src/alice/test/codesegment/local/StartCodeSegment.java	Tue Dec 17 19:46:29 2013 +0900
+++ b/src/alice/test/codesegment/local/StartCodeSegment.java	Mon Dec 23 17:13:16 2013 +0900
@@ -8,19 +8,13 @@
 	public void run() {
 		System.out.println("run StartCodeSegment");
 		
-		//TestCodeSegment cs = new TestCodeSegment();
-		//cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs.
+		TestCodeSegment cs = new TestCodeSegment();
+		cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs.
 								// cs is waiting for local.key1
 		System.out.println("create TestCodeSegment");
 		
 		ods.update("local", "key1", "String data"); // bind string data to datasegment local.key1
 													// this startup TestCodeSegment.
-		
-		SingletonTestCodeSegment cs1 = SingletonTestCodeSegment.getInstance();
-		cs1.arg1.setKey("key2");
-		
-		// DataSegment.get("local").update
-		ods.update("local", "key2", "String data");
  	}
 
 }