MCPcopy Create free account
hub / github.com/ceph/ceph / SetUp

Method SetUp

src/test/ObjectMap/test_keyvaluedb_iterators.cc:1594–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1592{
1593public:
1594 void SetUp() override {
1595 IteratorTest::SetUp();
1596
1597 clear(db.get());
1598 ASSERT_TRUE(validate_db_clear(db.get()));
1599 clear(mock.get());
1600 ASSERT_TRUE(validate_db_match());
1601 }
1602
1603 void SeekToFirst(KeyValueDB::WholeSpaceIterator iter) {
1604 // expected: iterator is invalid

Callers

nothing calls this directly

Calls 2

clearFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected