Class FunctionalAdminCollectionsTestUtils
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.common.server.FunctionalAdminCollectionsTestUtils
-
public final class FunctionalAdminCollectionsTestUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
afterTest()
static void
afterTest(java.util.Collection<FunctionalAdminCollections> functionalAdminCollections)
static void
afterTestClass(boolean deleteEsIndex)
static void
afterTestClass(java.util.Collection<FunctionalAdminCollections> functionalAdminCollections, boolean deleteEsIndex)
static void
beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, ElasticsearchAccessFunctionalAdmin esClient)
static void
beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, ElasticsearchAccessFunctionalAdmin esClient, java.util.Collection<FunctionalAdminCollections> functionalAdminCollections)
static ElasticsearchFunctionalAdminIndexManager
createTestIndexManager()
static void
resetVitamSequenceCounter()
-
-
-
Method Detail
-
beforeTestClass
public static void beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, ElasticsearchAccessFunctionalAdmin esClient)
-
beforeTestClass
public static void beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, ElasticsearchAccessFunctionalAdmin esClient, java.util.Collection<FunctionalAdminCollections> functionalAdminCollections)
-
afterTestClass
public static void afterTestClass(boolean deleteEsIndex)
-
resetVitamSequenceCounter
public static void resetVitamSequenceCounter()
-
afterTestClass
public static void afterTestClass(java.util.Collection<FunctionalAdminCollections> functionalAdminCollections, boolean deleteEsIndex)
-
afterTest
public static void afterTest()
-
afterTest
public static void afterTest(java.util.Collection<FunctionalAdminCollections> functionalAdminCollections)
-
createTestIndexManager
public static ElasticsearchFunctionalAdminIndexManager createTestIndexManager()
-
-