use of org.junit.jupiter.api.AfterAll in project mssql-jdbc by Microsoft.
the class LimitEscapeTest method afterAll.
/**
* Clean up
* @throws Exception
*/
@AfterAll
public static void afterAll() throws Exception {
Statement stmt = conn.createStatement();
try {
Utils.dropTableIfExists("UnitStatement_LimitEscape_t1", stmt);
Utils.dropTableIfExists("UnitStatement_LimitEscape_t2", stmt);
Utils.dropTableIfExists("UnitStatement_LimitEscape_t3", stmt);
Utils.dropTableIfExists("UnitStatement_LimitEscape_t4", stmt);
} catch (Exception ex) {
fail(ex.toString());
} finally {
stmt.close();
conn.close();
}
}
use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class CouchbaseDocumentCollectionManagerTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("person:id");
}
use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class CouchbaseListTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("jnosql:list");
}
use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class CouchbaseMapTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("jnosql:map");
}
Aggregations