Home
last modified time | relevance | path

Searched refs:test_ (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/common/
Dhttp_fetcher_unittest.cc344 T test_; member in chromeos_update_engine::HttpFetcherTest
419 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
422 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
428 this->test_.SmallUrl(server->GetPort()))); in TYPED_TEST()
434 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher()); in TYPED_TEST()
437 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
443 this->test_.BigUrl(server->GetPort()))); in TYPED_TEST()
450 if (this->test_.IsMock() || this->test_.IsMulti()) in TYPED_TEST()
457 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
460 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
[all …]
/system/connectivity/shill/
Dexternal_task_unittest.cc124 ExternalTaskTest* test_; member in shill::__anoncef93ab40111::TestRPCTask
129 test_(test) { in TestRPCTask()
130 test_->set_test_rpc_task_destroyed(false); in TestRPCTask()
134 test_->set_test_rpc_task_destroyed(true); in ~TestRPCTask()
135 test_ = nullptr; in ~TestRPCTask()
/system/connectivity/shill/cellular/
Dcellular_capability_classic_unittest.cc173 explicit TestControl(CellularCapabilityTest* test) : test_(test) {} in TestControl()
178 return test_->proxy_.release(); in CreateModemProxy()
184 return test_->simple_proxy_.release(); in CreateModemSimpleProxy()
190 return test_->cdma_proxy_.release(); in CreateModemCDMAProxy()
200 return test_->create_gsm_card_proxy_from_factory_ ? in CreateModemGSMCardProxy()
201 test_->gsm_card_proxy_.release() : nullptr; in CreateModemGSMCardProxy()
207 return test_->gsm_network_proxy_.release(); in CreateModemGSMNetworkProxy()
213 return test_->gobi_proxy_.release(); in CreateModemGobiProxy()
217 CellularCapabilityTest* test_; member in shill::CellularCapabilityTest::TestControl
Dcellular_capability_universal_cdma_unittest.cc145 : test_(test) {} in TestControl()
152 return test_->modem_3gpp_proxy_.release(); in CreateMM1ModemModem3gppProxy()
158 return test_->modem_cdma_proxy_.release(); in CreateMM1ModemModemCdmaProxy()
164 return test_->modem_proxy_.release(); in CreateMM1ModemProxy()
170 return test_->modem_simple_proxy_.release(); in CreateMM1ModemSimpleProxy()
176 return test_->sim_proxy_.release(); in CreateSimProxy()
182 return test_->properties_proxy_.release(); in CreateDBusPropertiesProxy()
186 CellularCapabilityUniversalCDMATest* test_; member in shill::CellularCapabilityUniversalCDMATest::TestControl
Dcellular_unittest.cc479 explicit TestControl(CellularTest* test) : test_(test) {} in TestControl()
484 CHECK(test_->dbus_properties_proxy_); in CreateDBusPropertiesProxy()
485 return test_->dbus_properties_proxy_.release(); in CreateDBusPropertiesProxy()
491 CHECK(test_->proxy_); in CreateModemProxy()
492 return test_->proxy_.release(); in CreateModemProxy()
498 CHECK(test_->simple_proxy_); in CreateModemSimpleProxy()
499 return test_->simple_proxy_.release(); in CreateModemSimpleProxy()
505 CHECK(test_->cdma_proxy_); in CreateModemCDMAProxy()
506 return test_->cdma_proxy_.release(); in CreateModemCDMAProxy()
516 CHECK(!test_->create_gsm_card_proxy_from_factory_ || in CreateModemGSMCardProxy()
[all …]
Dcellular_capability_gsm_unittest.cc196 explicit TestControl(CellularCapabilityGSMTest* test) : test_(test) {} in TestControl()
201 return test_->proxy_.release(); in CreateModemProxy()
207 return test_->simple_proxy_.release(); in CreateModemSimpleProxy()
217 return test_->create_card_proxy_from_factory_ ? in CreateModemGSMCardProxy()
218 test_->card_proxy_.release() : nullptr; in CreateModemGSMCardProxy()
224 return test_->network_proxy_.release(); in CreateModemGSMNetworkProxy()
228 CellularCapabilityGSMTest* test_; member in shill::CellularCapabilityGSMTest::TestControl
Dcellular_capability_universal_unittest.cc257 : test_(test) { in TestControl()
281 return test_->modem_3gpp_proxy_.release(); in CreateMM1ModemModem3gppProxy()
287 return test_->modem_cdma_proxy_.release(); in CreateMM1ModemModemCdmaProxy()
293 return test_->modem_proxy_.release(); in CreateMM1ModemProxy()
299 return test_->modem_simple_proxy_.release(); in CreateMM1ModemSimpleProxy()
305 mm1::MockSimProxy* sim_proxy = test_->sim_proxy_.release(); in CreateSimProxy()
306 test_->sim_proxy_.reset(new mm1::MockSimProxy()); in CreateSimProxy()
314 test_->properties_proxy_.release(); in CreateDBusPropertiesProxy()
324 test_->properties_proxy_.reset(new MockDBusPropertiesProxy()); in CreateDBusPropertiesProxy()
329 CellularCapabilityUniversalTest* test_; member in shill::CellularCapabilityUniversalTest::TestControl