Example #1
0
 @Override
 public void tearDown() throws Exception {
   if (mWebServer != null) {
     mWebServer.shutdown();
   }
   super.tearDown();
 }
 @Override
 protected void tearDown() throws Exception {
   try {
     clearCookies();
   } catch (Throwable e) {
     throw new RuntimeException("Could not clear cookies.");
   }
   super.tearDown();
 }
 @Override
 public void tearDown() throws Exception {
   mServer.shutdown();
   super.tearDown();
 }
 @Override
 protected void tearDown() throws Exception {
   if (mWebServer != null) mWebServer.shutdown();
   super.tearDown();
 }