Lines Matching refs:registry_
37 registry_ = new ModuleRegistry(); in SetUp()
41 delete registry_; in TearDown()
45 ModuleRegistry* registry_; member in bluetooth::__anon6d4cd8320111::ModuleTest
225 registry_->Start(&list, thread_); in TEST_F()
227 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
228 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
229 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
230 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
232 registry_->StopAll(); in TEST_F()
234 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
235 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
236 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
237 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
243 registry_->Start(&list, thread_); in TEST_F()
245 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
246 EXPECT_TRUE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
247 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
248 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
250 registry_->StopAll(); in TEST_F()
252 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
253 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
254 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
255 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
261 registry_->Start(&list, thread_); in TEST_F()
263 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
264 EXPECT_TRUE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
265 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
266 EXPECT_TRUE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
268 registry_->StopAll(); in TEST_F()
270 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
271 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
272 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
273 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
284 registry_->Start(&list, thread_); in TEST_F()
286 registry_->StopAll(); in TEST_F()
293 registry_->Start(&list, thread_); in TEST_F()
295 ModuleDumper dumper(*registry_, title); in TEST_F()
307 static_cast<TestModuleDumpState*>(registry_->Start(&TestModuleDumpState::Factory, nullptr)); in TEST_F()
316 registry_->StopAll(); in TEST_F()