Пример #1
0
  /** @throws Exception if an error occurs */
  @Override
  @After
  public void tearDown() throws Exception {
    if (localServer_ != null) {
      localServer_.stop();
    }
    localServer_ = null;

    super.tearDown();
  }
Пример #2
0
 /** {@inheritDoc} */
 @After
 public void tearDown() throws Exception {
   Thread.sleep(100);
   super.tearDown();
 }