Lines Matching refs:test_conf_
77 test_conf_ = new FakeP2PManagerConfiguration(); in SetUp()
86 manager_.reset(P2PManager::Construct(test_conf_, &fake_clock_, &fake_um_, in SetUp()
97 FakeP2PManagerConfiguration *test_conf_; member in chromeos_update_engine::P2PManagerTest
138 test_conf_ = new FakeP2PManagerConfiguration(); in TEST_F()
140 test_conf_, &fake_clock_, &fake_um_, "cros_au", 3, in TEST_F()
148 base::FilePath path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F()
154 path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F()
173 test_conf_->GetP2PDir().value().c_str(), n); in TEST_F()
178 test_conf_->GetP2PDir().value().c_str(), n); in TEST_F()
202 test_conf_ = new FakeP2PManagerConfiguration(); in TEST_F()
204 test_conf_, &fake_clock_, &fake_um_, "cros_au", in TEST_F()
211 base::FilePath path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F()
227 path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F()
246 test_conf_->GetP2PDir().value().c_str(), n); in TEST_F()
251 test_conf_->GetP2PDir().value().c_str(), n); in TEST_F()
352 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F()
353 EXPECT_TRUE(CheckP2PFile(test_conf_->GetP2PDir().value(), in TEST_F()
375 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F()
376 EXPECT_TRUE(CheckP2PFile(test_conf_->GetP2PDir().value(), in TEST_F()
383 test_conf_->GetP2PDir().Append("foo.cros_au.p2p")); in TEST_F()
384 EXPECT_TRUE(CheckP2PFile(test_conf_->GetP2PDir().value(), in TEST_F()
405 EXPECT_TRUE(CreateP2PFile(test_conf_->GetP2PDir().value(), in TEST_F()
409 test_conf_->GetP2PDir().Append("foo.cros_au.p2p")); in TEST_F()
421 EXPECT_TRUE(CreateP2PFile(test_conf_->GetP2PDir().value(), in TEST_F()
425 test_conf_->GetP2PDir().Append("bar.cros_au.p2p.tmp")); in TEST_F()
437 test_conf_->SetInitctlStartCommand({"true"}); in TEST_F()
439 test_conf_->SetInitctlStartCommand({"false"}); in TEST_F()
441 test_conf_->SetInitctlStartCommand({ in TEST_F()
444 test_conf_->SetInitctlStartCommand({ in TEST_F()
452 test_conf_->SetInitctlStopCommand({"true"}); in TEST_F()
454 test_conf_->SetInitctlStopCommand({"false"}); in TEST_F()
456 test_conf_->SetInitctlStopCommand({ in TEST_F()
459 test_conf_->SetInitctlStopCommand({ in TEST_F()
475 test_conf_->SetP2PClientCommand({ in TEST_F()
483 test_conf_->SetP2PClientCommand({"echo", "not_a_valid_url"}); in TEST_F()
489 test_conf_->SetP2PClientCommand({"false"}); in TEST_F()
495 test_conf_->SetP2PClientCommand({"/path/to/non/existent/helper/program"}); in TEST_F()
502 test_conf_->SetP2PClientCommand({"sh", "-c", "kill -SEGV $$"}); in TEST_F()
508 test_conf_->SetP2PClientCommand({ in TEST_F()