BlobReferenceIterator: improve test coverage for RDB
@@ -49,7 +49,7 @@ public class BlobReferenceIteratorTest {
this.fixture = fixture;
}
- @Parameterized.Parameters
+ @Parameterized.Parameters(name="{0}")
public static java.util.Collection<Object[]> fixtures() throws IOException {
List<Object[]> fixtures = Lists.newArrayList();
fixtures.add(new Object[] { new DocumentStoreFixture.MemoryFixture() });
@@ -58,6 +58,11 @@ public class BlobReferenceIteratorTest {
if (mongo.isAvailable()) {
fixtures.add(new Object[] { mongo });
}
+
+ DocumentStoreFixture rdb = new DocumentStoreFixture.RDBFixture();
+ if (rdb.isAvailable()) {
+ fixtures.add(new Object[] { rdb });
+ }
return fixtures;
}
@@ -67,7 +72,6 @@ public class BlobReferenceIteratorTest {
.setDocumentStore(fixture.createDocumentStore())
.setAsyncDelay(0)
.getNodeStore();
-
}
@After
