Ejemplo n.º 1
0
 @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();
 }
Ejemplo n.º 2
0
 /** @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());
 }
Ejemplo n.º 3
0
 @After
 public void teardown() throws Exception {
   _testSupport.tearDown();
 }
Ejemplo n.º 4
0
 @AfterClass
 public static void teardown() throws Exception {
   _testSupport.tearDown();
 }
Ejemplo n.º 5
0
 @BeforeClass
 public static void setup() throws Exception {
   _testSupport = new GCloudSessionTestSupport();
   _testSupport.setUp();
 }