32333435363738
public NinjaTestServer ninjaTestServer; @Before public void startupServer() { ninjaTestServer = new NinjaTestServer(); }
47484950515253
public NinjaApiDocTest() { } @Before public void startServerInTestMode() { ninjaTestServer = new NinjaTestServer(); }
38394041424344
public NinjaDocTester() { } @Before public void startServerInTestMode() { ninjaTestServer = new NinjaTestServer(); }
6869707172737475
private Injector injector = null; public NinjaRunner(Class<?> klass) throws InitializationError { super(klass); NinjaTestServer ninjaTestServer = new NinjaTestServer(); injector = ninjaTestServer.getInjector(); }
4647484950515253
//startup stuff is done in @Before method. } @Before public void startupServerAndBrowser() { ninjaTestServer = new NinjaTestServer(); ninjaTestBrowser = new NinjaTestBrowser(); }