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

Method SetUp

src/test/ObjectMap/test_keyvaluedb_iterators.cc:1522–1536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1520 }
1521
1522 void SetUp() override {
1523 IteratorTest::SetUp();
1524
1525 prefix1 = "_PREFIX_1_";
1526
1527 clear(db.get());
1528 ASSERT_TRUE(validate_db_clear(db.get()));
1529 clear(mock.get());
1530 ASSERT_TRUE(validate_db_match());
1531
1532 init(db.get());
1533 init(mock.get());
1534
1535 ASSERT_TRUE(validate_db_match());
1536 }
1537
1538 void TearDown() override {
1539 IteratorTest::TearDown();

Callers

nothing calls this directly

Calls 3

clearFunction · 0.50
initFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected