Class FunctionalAdminCollectionsTestUtils
java.lang.Object
fr.gouv.vitam.functional.administration.common.server.FunctionalAdminCollectionsTestUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
afterTest
(Collection<FunctionalAdminCollections> functionalAdminCollections) static void
afterTestClass
(boolean deleteEsIndex) static void
afterTestClass
(Collection<FunctionalAdminCollections> functionalAdminCollections, boolean deleteEsIndex) static void
beforeTestClass
(com.mongodb.client.MongoDatabase db, String prefix, ElasticsearchAccessFunctionalAdmin esClient) static void
beforeTestClass
(com.mongodb.client.MongoDatabase db, String prefix, ElasticsearchAccessFunctionalAdmin esClient, Collection<FunctionalAdminCollections> functionalAdminCollections) createTestIndexManager
(String elasticsearchConfigurationFilePath) static void
-
Method Details
-
beforeTestClass
public static void beforeTestClass(com.mongodb.client.MongoDatabase db, String prefix, ElasticsearchAccessFunctionalAdmin esClient) -
beforeTestClass
public static void beforeTestClass(com.mongodb.client.MongoDatabase db, String prefix, ElasticsearchAccessFunctionalAdmin esClient, Collection<FunctionalAdminCollections> functionalAdminCollections) -
afterTestClass
public static void afterTestClass(boolean deleteEsIndex) -
resetVitamSequenceCounter
public static void resetVitamSequenceCounter() -
afterTestClass
public static void afterTestClass(Collection<FunctionalAdminCollections> functionalAdminCollections, boolean deleteEsIndex) -
afterTest
public static void afterTest() -
afterTest
-
createTestIndexManager
public static ElasticsearchFunctionalAdminIndexManager createTestIndexManager(String elasticsearchConfigurationFilePath)
-