protected void setUp() throws Exception {
   super.setUp();
   //    ds = new DaemonStatus();
   statSvc = theDaemon.getStatusService();
   ssi = (StatusServiceImpl) statSvc;
   ssi.startService();
 }
Example #2
0
 protected void setUp() throws Exception {
   super.setUp();
   sc = new MyServeContent();
 }
 protected void initServletRunner() {
   super.initServletRunner();
   sRunner.registerServlet("/DaemonStatus", DaemonStatus.class.getName());
   // DaemonStatus wants there to be a local ip address
   ConfigurationUtil.setFromArgs(LockssServlet.PARAM_LOCAL_IP, "2.4.6.8");
 }