示例#1
0
 private void newTr(MyMockTaskRunner newTr) {
   if (tr != null) {
     tr.stopService();
   }
   tr = newTr;
   tr.initService(getMockLockssDaemon());
   tr.startService();
 }
示例#2
0
 public void tearDown() throws Exception {
   TimeBase.setReal();
   tr.stopService();
   super.tearDown();
 }