use of org.junit.AfterClass in project tdi-studio-se by Talend.
the class UserComponentsProviderTest method tearDown.
@AfterClass
public static void tearDown() throws Exception {
// backup old
UserComponentsProviderTestClass provider = new UserComponentsProviderTestClass();
File installationFolder = provider.getInstallationFolder();
if (installationFolder != null && installationFolder.exists()) {
FilesUtils.copyFolder(backupFolder, installationFolder, true, null, null, true);
}
FilesUtils.deleteFolder(backupFolder, true);
}
use of org.junit.AfterClass in project textdb by TextDB.
the class ComparableMatcherTest method cleanUp.
@AfterClass
public static void cleanUp() throws TextDBException {
RelationManager relationManager = RelationManager.getRelationManager();
relationManager.deleteTable(PEOPLE_TABLE);
}
use of org.junit.AfterClass in project SmartCity-Market by TechnionYP5777.
the class PackingTest method cleanup.
@AfterClass
public static void cleanup() {
if (CLEAN_ALL)
for (File file : (new File(unpackDirPath)).listFiles()) file.delete();
else {
File zipfileToDelete = new File(zipfileToPackPath);
zipfileToDelete.delete();
}
}
use of org.junit.AfterClass in project voltdb by VoltDB.
the class TestJDBCMultiConnection method tearDown.
@AfterClass
public static void tearDown() throws Exception {
stopServer();
File f = new File(m_testJar);
f.delete();
}
use of org.junit.AfterClass in project voltdb by VoltDB.
the class TestJDBCQueries method tearDown.
@AfterClass
public static void tearDown() throws Exception {
stopServer();
File f = new File(testjar);
f.delete();
}
Aggregations