Mercurial > hg > Database > Alice
diff src/alice/test/codesegment/api/TestMetaCodeSegment.java @ 335:2f003d5703d5 META_CODESEGMENT
Meta CodeSegment Test
author | sugi |
---|---|
date | Mon, 14 Apr 2014 15:46:29 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/alice/test/codesegment/api/TestMetaCodeSegment.java Mon Apr 14 15:46:29 2014 +0900 @@ -0,0 +1,19 @@ +package alice.test.codesegment.api; + +import alice.codesegment.CodeSegment; +import alice.daemon.AliceDaemon; +import alice.daemon.Config; + +public class TestMetaCodeSegment extends CodeSegment{ + public static void main(String[] args){ + new AliceDaemon(new Config(args)).listen(); + new TestMetaCodeSegment().execute(); + } + + @Override + public void run() { + new PrintText(); + ods.put("TEST", "START"); + } + +}