Lines Matching refs:registry_
41 registry_ = new ModuleRegistry(); in SetUp()
45 delete registry_; in TearDown()
49 ModuleRegistry* registry_; member in bluetooth::__anon2d4c33810111::ModuleTest
227 registry_->Start(&list, thread_); in TEST_F()
229 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
230 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
231 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
232 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
234 registry_->StopAll(); in TEST_F()
236 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
237 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
238 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
239 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
245 registry_->Start(&list, thread_); in TEST_F()
247 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
248 EXPECT_TRUE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
249 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
250 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
252 registry_->StopAll(); in TEST_F()
254 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
255 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
256 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
257 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
263 registry_->Start(&list, thread_); in TEST_F()
265 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
266 EXPECT_TRUE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
267 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
268 EXPECT_TRUE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
270 registry_->StopAll(); in TEST_F()
272 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
273 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
274 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
275 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
286 registry_->Start(&list, thread_); in TEST_F()
288 registry_->StopAll(); in TEST_F()
295 registry_->Start(&list, thread_); in TEST_F()
297 ModuleDumper dumper(STDOUT_FILENO, *registry_, title); in TEST_F()
310 static_cast<TestModuleDumpState*>(registry_->Start(&TestModuleDumpState::Factory, nullptr)); in TEST_F()
321 registry_->StopAll(); in TEST_F()