@Test @Ignore("broken") public void testStart() { System.setProperty("opennms.startup.context", "classpath:/startup.xml"); SpringLoader.main(new String[] { "start" }); assertNoSuchBean("nothere"); assertBeanExists("testDaemon"); ServiceDaemon daemon = (ServiceDaemon)Registry.getBean("testDaemon"); assertEquals(Fiber.RUNNING, daemon.getStatus()); }
public void start() throws Throwable { getDaemonMgr().start(); }
SpringLoader { public void start() throws Throwable { getDaemonMgr().start(); } }
SpringLoader { public void start() throws Throwable { getDaemonMgr().start(); } SpringLoader(String operation); }
SpringLoader { public void start() throws Throwable { getDaemonMgr().start(); } SpringLoader(String operation); void start(); static void main(String[] args); }
SpringLoader { public void start() throws Throwable { getDaemonMgr().start(); } SpringLoader(String operation); void start(); static void main(String[] args);  }