use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class SearchQueryTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("city:salvador");
keyValueEntityManager.remove("city:sao_paulo");
keyValueEntityManager.remove("city:rio_janeiro");
keyValueEntityManager.remove("city:manaus");
}
use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class CouchbaseBucketManagerTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove(KEY_OTAVIO);
keyValueEntityManager.remove(KEY_SORO);
}
use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class CouchbaseQueueTest 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:queue");
}
use of org.junit.jupiter.api.AfterAll in project jnosql-diana-driver by eclipse.
the class CouchbaseSetTest 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:set");
}
use of org.junit.jupiter.api.AfterAll in project mssql-jdbc by Microsoft.
the class RegressionTest method terminate.
@AfterAll
public static void terminate() throws SQLException {
SQLServerConnection con = (SQLServerConnection) DriverManager.getConnection(connectionString);
Statement stmt = con.createStatement();
Utils.dropTableIfExists(tableName, stmt);
Utils.dropProcedureIfExists(procName, stmt);
}
Aggregations