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

Method SetUp

src/test/ObjectMap/test_keyvaluedb_iterators.cc:1260–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1258 }
1259
1260 void SetUp() override {
1261 IteratorTest::SetUp();
1262
1263 prefix0 = "_PREFIX_0_";
1264 prefix1 = "_PREFIX_1_";
1265 prefix2 = "_PREFIX_2_";
1266 prefix3 = "_PREFIX_3_";
1267 prefix4 = "_PREFIX_4_";
1268 prefix5 = "_PREFIX_5_";
1269
1270 clear(db.get());
1271 ASSERT_TRUE(validate_db_clear(db.get()));
1272 clear(mock.get());
1273 ASSERT_TRUE(validate_db_match());
1274
1275 init(db.get());
1276 init(mock.get());
1277
1278 ASSERT_TRUE(validate_db_match());
1279 }
1280
1281 void TearDown() override {
1282 IteratorTest::TearDown();

Callers

nothing calls this directly

Calls 3

clearFunction · 0.50
initFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected