use of org.testng.annotations.AfterMethod in project che by eclipse.
the class CheBootstrapTest method tearDown.
@AfterMethod
public void tearDown() throws Exception {
try {
cheBootstrap.contextDestroyed(new ServletContextEvent(servletContext));
} catch (Throwable ignored) {
}
systemPropertiesHelper.restoreFromBackup();
IoUtil.deleteRecursive(che);
IoUtil.deleteRecursive(userCongDir);
File aliases = new File(che.getParent(), PROPERTIES_ALIASES_CONFIG_FILE);
if (aliases.exists()) {
aliases.delete();
}
ModuleScanner.modules.clear();
}
use of org.testng.annotations.AfterMethod in project head by mifos.
the class SearchCustomerTest method tearDown.
@AfterMethod
public void tearDown() {
(new MifosPage(selenium)).logout();
new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
use of org.testng.annotations.AfterMethod in project head by mifos.
the class ClientLoanDisbursalTest method logOut.
@AfterMethod(alwaysRun = true)
public void logOut() {
new DateTimeService().resetToCurrentSystemDateTime();
(new MifosPage(selenium)).logout();
}
use of org.testng.annotations.AfterMethod in project pinot by linkedin.
the class ChaosMonkeyIntegrationTest method tearDown.
@AfterMethod
public void tearDown() {
for (Process process : _processes) {
process.destroy();
}
FileUtils.deleteQuietly(new File(AVRO_DIR));
FileUtils.deleteQuietly(new File(SEGMENT_DIR));
}
use of org.testng.annotations.AfterMethod in project head by mifos.
the class SystemInfoDateTimeTest method tearDown.
@AfterMethod
public void tearDown() {
(new MifosPage(selenium)).logout();
new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
Aggregations