use of org.junit.AfterClass in project textdb by TextDB.
the class ScanBasedSourceOperatorTest method cleanUp.
@AfterClass
public static void cleanUp() throws Exception {
RelationManager relationManager = RelationManager.getInstance();
relationManager.deleteTable(PEOPLE_TABLE);
}
use of org.junit.AfterClass in project eclipse.platform.text by eclipse.
the class ZoomTest method tearDownAfterClass.
@AfterClass
public static void tearDownAfterClass() throws Exception {
file.delete(true, new NullProgressMonitor());
project.delete(true, new NullProgressMonitor());
TestUtil.cleanUp();
}
use of org.junit.AfterClass in project dal by ctripcorp.
the class DalConcurrentSqlServerTestStub method tearDownAfterClass.
/**
* Drop the test tables
* @throws Exception
*/
@AfterClass
public static void tearDownAfterClass() throws Exception {
DalHints hints = new DalHints();
StatementParameters parameters = new StatementParameters();
String[] sqls = new String[] { DROP_TABLE_SQL };
for (int i = 0; i < sqls.length; i++) {
client.update(sqls[i], parameters, hints);
}
}
use of org.junit.AfterClass in project dal by ctripcorp.
the class DalTabelDaoShardByTableSqlSvrTest method tearDownAfterClass.
@AfterClass
public static void tearDownAfterClass() throws Exception {
DalHints hints = new DalHints();
String[] sqls = null;
// For Sql Server
hints = new DalHints();
StatementParameters parameters = new StatementParameters();
for (int i = 0; i < mod; i++) {
sqls = new String[] { String.format(DROP_TABLE_SQL_SQLSVR_TPL, i, i) };
for (int j = 0; j < sqls.length; j++) {
clientSqlSvr.update(sqls[j], parameters, hints);
}
}
}
use of org.junit.AfterClass in project dal by ctripcorp.
the class DalTableDaoShardByDbSqlSvrTest method tearDownAfterClass.
@AfterClass
public static void tearDownAfterClass() throws Exception {
DalHints hints = new DalHints();
String[] sqls = null;
// For Sql Server
hints = new DalHints();
StatementParameters parameters = new StatementParameters();
for (int i = 0; i < mod; i++) {
clientSqlSvr.update(DROP_TABLE_SQL_SQLSVR_TPL, parameters, hints.inShard(i));
}
}
Aggregations