@Override
  protected void tearDown() throws Exception {
    super.tearDown();

    if (elasticsearchNode != null && !elasticsearchNode.isClosed()) {
      elasticsearchNode.stop();
    }
  }
 @AfterClass
 @Override
 public void tearDown() {
   try {
     super.tearDown();
   } catch (Exception e) {
     throw new IllegalStateException(e);
   }
 }
 /**
  * Clean up targetarea after a testcase is run. So we make shure, we don't get sideeffects between
  * testruns.
  */
 protected void tearDown() throws Exception {
   super.tearDown();
   try {
     FileUtils.deleteDirectory(project.getBuild().getDirectory());
   } catch (
       Exception
           ex) {; // Only a problem on windows. we really do not care.. if we cant delete the file
     // It is probably not there
   }
 }
Beispiel #4
0
 /** @see org.codehaus.plexus.PlexusTestCase#tearDown() */
 @Override
 protected void tearDown() throws Exception {
   super.tearDown();
 }
 @Override
 @After
 public void tearDown() throws Exception {
   super.tearDown();
 }