use of org.apache.jackrabbit.oak.plugins.document.mongo.MongoVersionGCSupport in project jackrabbit-oak by apache.
the class VersionGCSupportTest method fixtures.
@Parameterized.Parameters(name = "{0}")
public static java.util.Collection<Object[]> fixtures() {
List<Object[]> fixtures = Lists.newArrayList();
if (RDB_H2.isAvailable()) {
RDBDocumentStore store = (RDBDocumentStore) RDB_H2.createDocumentStore();
fixtures.add(new Object[] { RDB_H2, store, new RDBVersionGCSupport(store) });
}
if (MONGO.isAvailable()) {
MongoDocumentStore store = (MongoDocumentStore) MONGO.createDocumentStore();
fixtures.add(new Object[] { MONGO, store, new MongoVersionGCSupport(store) });
}
if (MEMORY.isAvailable()) {
DocumentStore store = new MemoryDocumentStore();
fixtures.add(new Object[] { MEMORY, store, new VersionGCSupport(store) });
}
return fixtures;
}
Aggregations