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

Method SetUp

src/test/ObjectMap/test_keyvaluedb_iterators.cc:789–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787 }
788
789 void SetUp() override {
790 IteratorTest::SetUp();
791
792 prefix1 = "_PREFIX_1_";
793 prefix2 = "_PREFIX_2_";
794 prefix3 = "_PREFIX_4_";
795
796 clear(db.get());
797 ASSERT_TRUE(validate_db_clear(db.get()));
798 clear(mock.get());
799 ASSERT_TRUE(validate_db_match());
800
801 init(db.get());
802 init(mock.get());
803
804 ASSERT_TRUE(validate_db_match());
805 }
806
807 void TearDown() override {
808 IteratorTest::TearDown();

Callers

nothing calls this directly

Calls 3

clearFunction · 0.50
initFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected