@Before public void setup() throws Exception { String projectId = System.getProperty("test.projectId", null); String port = System.getProperty("test.port", "0"); _testSupport = new GCloudSessionTestSupport(projectId, Integer.parseInt(port), null); _testSupport.setUp(); }
/** @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int) */ @Override public AbstractTestServer createServer(int port, int max, int scavenge) { return new GCloudTestServer(port, max, scavenge, _testSupport.getConfiguration()); }
@After public void teardown() throws Exception { _testSupport.tearDown(); }
@AfterClass public static void teardown() throws Exception { _testSupport.tearDown(); }
@BeforeClass public static void setup() throws Exception { _testSupport = new GCloudSessionTestSupport(); _testSupport.setUp(); }