Mercurial > hg > Database > Alice
view src/alice/test/codesegment/remote/alpha/TestRemoteConfig.java @ 136:bb023f060f2f working
add different version test
author | sugi |
---|---|
date | Sun, 19 Aug 2012 21:31:21 +0900 |
parents | |
children |
line wrap: on
line source
package alice.test.codesegment.remote.alpha; import alice.daemon.Config; public class TestRemoteConfig extends Config { public String hostname; public int connectPort = 10000; public String key; public TestRemoteConfig(String[] args) { super(args); for (int i = 0; i< args.length; i++) { if ("-h".equals(args[i])) { hostname = args[++i]; } else if ("-cp".equals(args[i])) { connectPort = Integer.parseInt(args[++i]); } else if ("-key".equals(args[i])) { key = args[++i]; } } } }