Mercurial > hg > Database > Alice
view 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 |
line wrap: on
line source
package alice.test.codesegment.api; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class TakeCodeSegment extends CodeSegment { Receiver ds1 = ids.create(CommandType.TAKE); public TakeCodeSegment(){ this.ds1.setKey("num"); } @Override public void run() { new TakeCodeSegment(); } }