17181920212223242526
HTTPClient client; String baseURL; public void setUp() throws IOException { app = new StandaloneInitTerminateTestApplication(); server = new InlineServer(app); WebServer.ensureStartup(server, 100); baseURL = "http://localhost:" + server.getPort() + "/"; client = new HTTPClient(); }
1415161718192021
StandaloneInitTerminateTestApplication app; public void setUp() throws IOException { app = new StandaloneInitTerminateTestApplication(); assertEquals("", app.out.toString()); server = new InlineServer(app); WebServer.ensureStartup(server, 100); }