Lines Matching defs:database_
32 explicit DatabaseTestHelper(Database* database) : database_(database) { }
35 bool Close() { return database_->Close(); }
42 database_->key_builder_->CreateMetricKey(database_->clock_->GetTime(),
46 database_->metric_db_->Put(database_->write_options_,
55 std::string key = database_->key_builder_->CreateEventKey(time, type);
57 database_->event_db_->Put(database_->write_options_, key, "fake_event");
62 return GetNumberOfEntries(database_->metric_db_.get());
65 return GetNumberOfEntries(database_->event_db_.get());
73 level_db->NewIterator(database_->read_options_));
79 Database* database_;