Class LogbookCollectionsTestUtils
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.server.database.collections.LogbookCollectionsTestUtils
-
public final class LogbookCollectionsTestUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
afterTest(ElasticsearchLogbookIndexManager indexManager)
static void
afterTestClass(ElasticsearchLogbookIndexManager indexManager, boolean deleteEsIndexes)
static void
beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, LogbookElasticsearchAccess esClient)
static ElasticsearchLogbookIndexManager
createTestIndexManager(java.util.List<java.lang.Integer> dedicatedTenants, java.util.Map<java.lang.String,java.util.List<java.lang.Integer>> tenantGroups)
-
-
-
Method Detail
-
createTestIndexManager
public static ElasticsearchLogbookIndexManager createTestIndexManager(java.util.List<java.lang.Integer> dedicatedTenants, java.util.Map<java.lang.String,java.util.List<java.lang.Integer>> tenantGroups)
-
beforeTestClass
public static void beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, LogbookElasticsearchAccess esClient)
-
afterTestClass
public static void afterTestClass(ElasticsearchLogbookIndexManager indexManager, boolean deleteEsIndexes)
-
afterTest
public static void afterTest(ElasticsearchLogbookIndexManager indexManager)
-
-