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

Method SetUp

src/test/ObjectMap/test_keyvaluedb_iterators.cc:277–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 void SetUp() override {
278 IteratorTest::SetUp();
279
280 prefix1 = "_PREFIX_1_";
281 prefix2 = "_PREFIX_2_";
282 prefix3 = "_PREFIX_3_";
283
284 clear(db.get());
285 ASSERT_TRUE(validate_db_clear(db.get()));
286 clear(mock.get());
287 ASSERT_TRUE(validate_db_match());
288
289 init(db.get());
290 init(mock.get());
291
292 ASSERT_TRUE(validate_db_match());
293 }
294
295 void TearDown() override {
296 IteratorTest::TearDown();

Callers

nothing calls this directly

Calls 3

clearFunction · 0.50
initFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected