comparison src/alice/test/codesegment/api/TakeCodeSegment.java @ 128:9db7fcf98ee9 working

add ApiTest take
author sugi
date Mon, 06 Aug 2012 17:35:45 +0900
parents
children f151dea22b2c
comparison
equal deleted inserted replaced
127:117dad267a9b 128:9db7fcf98ee9
1 package alice.test.codesegment.api;
2
3 import alice.codesegment.CodeSegment;
4 import alice.datasegment.CommandType;
5 import alice.datasegment.Receiver;
6
7 public class TakeCodeSegment extends CodeSegment {
8
9 Receiver ds1 = ids.create(CommandType.TAKE);
10
11 public TakeCodeSegment(){
12 this.ds1.setKey("num");
13 }
14 @Override
15 public void run() {
16 new TakeCodeSegment();
17
18 }
19 }