Mercurial > hg > Database > Christie
comparison src/main/java/christie/test/TestLocal/StartTest.java @ 14:f2b30b47ef67
RemotePutTest is working
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 11 Jan 2018 18:02:59 +0900 |
parents | bcd4f2c19185 |
children | 4e867538adb7 |
comparison
equal
deleted
inserted
replaced
13:bcd4f2c19185 | 14:f2b30b47ef67 |
---|---|
1 package christie.test.TestLocal; | 1 package christie.test.TestLocal; |
2 | 2 |
3 import christie.codegear.CodeGearManager; | 3 import christie.codegear.CodeGearManager; |
4 import christie.codegear.StartCodeGear; | 4 import christie.codegear.StartCodeGear; |
5 import christie.daemon.Config; | 5 import christie.daemon.Config; |
6 import christie.daemon.RemoteConfig; | |
7 | 6 |
8 public class StartTest extends StartCodeGear{ | 7 public class StartTest extends StartCodeGear{ |
9 | 8 |
10 | 9 |
11 public StartTest(Config conf) { | 10 public StartTest(Config conf) { |
18 cgm.setup(start); | 17 cgm.setup(start); |
19 } | 18 } |
20 | 19 |
21 @Override | 20 @Override |
22 protected void run(CodeGearManager cgm) { | 21 protected void run(CodeGearManager cgm) { |
23 TestCodeGear cg = new TestCodeGear(); | 22 cgm.setup(new TestCodeGear()); |
24 cgm.setup(cg); | |
25 | 23 |
26 localDGM.put("hoge", 1); | 24 localDGM.put("hoge", 1); |
27 | |
28 } | 25 } |
29 } | 26 } |