MCPcopy Create free account
hub / github.com/ElementsProject/elements / DBTest

Method DBTest

src/leveldb/db/db_test.cc:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 Options last_options_;
239
240 DBTest() : env_(new SpecialEnv(Env::Default())), option_config_(kDefault) {
241 filter_policy_ = NewBloomFilterPolicy(10);
242 dbname_ = test::TmpDir() + "/db_test";
243 DestroyDB(dbname_, Options());
244 db_ = nullptr;
245 Reopen();
246 }
247
248 ~DBTest() {
249 delete db_;

Callers

nothing calls this directly

Calls 4

NewBloomFilterPolicyFunction · 0.85
TmpDirFunction · 0.85
DestroyDBFunction · 0.85
OptionsClass · 0.70

Tested by

no test coverage detected