Lines Matching refs:database_

45     database_.reset(new DatabaseImpl(&mock_crypto_utility_));  in SetUp()
46 database_->set_io(this); in SetUp()
48 database_->Initialize(); in SetUp()
85 std::unique_ptr<DatabaseImpl> database_; member in attestation::DatabaseImplTest
89 database_->GetMutableProtobuf()->Clear(); in TEST_F()
90 EXPECT_TRUE(database_->Reload()); in TEST_F()
92 database_->GetProtobuf().credentials().conformance_credential()); in TEST_F()
97 database_->GetMutableProtobuf()->Clear(); in TEST_F()
98 EXPECT_FALSE(database_->Reload()); in TEST_F()
99 EXPECT_FALSE(database_->GetProtobuf().has_credentials()); in TEST_F()
105 database_->GetMutableProtobuf()->Clear(); in TEST_F()
106 EXPECT_FALSE(database_->Reload()); in TEST_F()
107 EXPECT_FALSE(database_->GetProtobuf().has_credentials()); in TEST_F()
111 database_->GetMutableProtobuf()->mutable_credentials()-> in TEST_F()
114 database_->GetProtobuf().SerializeToString(&expected_data); in TEST_F()
115 EXPECT_TRUE(database_->SaveChanges()); in TEST_F()
121 database_->GetMutableProtobuf()->mutable_credentials()-> in TEST_F()
123 EXPECT_FALSE(database_->SaveChanges()); in TEST_F()
129 database_->GetMutableProtobuf()->mutable_credentials()-> in TEST_F()
131 EXPECT_FALSE(database_->SaveChanges()); in TEST_F()
138 database_->GetProtobuf().credentials().conformance_credential()); in TEST_F()
146 database_->GetProtobuf().credentials().platform_credential()); in TEST_F()
147 EXPECT_TRUE(database_->Reload()); in TEST_F()
149 database_->GetProtobuf().credentials().platform_credential()); in TEST_F()
157 database_->GetProtobuf().credentials().platform_credential()); in TEST_F()
160 database_->GetProtobuf().credentials().platform_credential()); in TEST_F()