Lines Matching refs:registry_
36 registry_ = new ModuleRegistry(); in SetUp()
40 delete registry_; in TearDown()
44 ModuleRegistry* registry_; member in bluetooth::__anonb3e8c82b0111::ModuleTest
204 registry_->Start(&list, thread_); in TEST_F()
206 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
207 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
208 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
209 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
211 registry_->StopAll(); in TEST_F()
213 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
214 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
215 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
216 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
222 registry_->Start(&list, thread_); in TEST_F()
224 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
225 EXPECT_TRUE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
226 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
227 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
229 registry_->StopAll(); in TEST_F()
231 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
232 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
233 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
234 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
240 registry_->Start(&list, thread_); in TEST_F()
242 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
243 EXPECT_TRUE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
244 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
245 EXPECT_TRUE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
247 registry_->StopAll(); in TEST_F()
249 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
250 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
251 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
252 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
263 registry_->Start(&list, thread_); in TEST_F()
265 registry_->StopAll(); in TEST_F()
272 registry_->Start(&list, thread_); in TEST_F()
274 ModuleDumper dumper(*registry_, title); in TEST_F()
286 static_cast<TestModuleDumpState*>(registry_->Start(&TestModuleDumpState::Factory, nullptr)); in TEST_F()
295 registry_->StopAll(); in TEST_F()