Ejemplo n.º 1
0
 @BeforeClass
 public static void startServers() throws Exception {
   AbstractResourceInfo.clearAllMaps();
   assertTrue("server did not launch correctly", launchServer(AtomBookServer.class, true));
   createStaticBus();
 }
 protected static void startServers(final Class<? extends Server> serverClass) throws Exception {
   AbstractResourceInfo.clearAllMaps();
   // keep out of process due to stack traces testing failures
   assertTrue("server did not launch correctly", launchServer(serverClass, false));
   createStaticBus();
 }