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

Method SetUp

src/test/ObjectMap/test_keyvaluedb_iterators.cc:546–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544 }
545
546 void SetUp() override {
547 IteratorTest::SetUp();
548
549 prefix1 = "_PREFIX_1_";
550 prefix2 = "_PREFIX_2_";
551
552 clear(db.get());
553 ASSERT_TRUE(validate_db_clear(db.get()));
554 clear(mock.get());
555 ASSERT_TRUE(validate_db_match());
556
557 init(db.get());
558 init(mock.get());
559
560 ASSERT_TRUE(validate_db_match());
561 }
562
563 void TearDown() override {
564 IteratorTest::TearDown();

Callers

nothing calls this directly

Calls 3

clearFunction · 0.50
initFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected