Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: chromeos/network/network_cert_migrator_unittest.cc

Issue 299403012: Clean up shill fake implementations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/network/network_cert_migrator_unittest.cc
diff --git a/chromeos/network/network_cert_migrator_unittest.cc b/chromeos/network/network_cert_migrator_unittest.cc
index 0aa48e4d9bf055920e3035d12ac60eae592569d8..0dcc68df7a20e1c7a53c4f11e2a01ddc7c8d68b6 100644
--- a/chromeos/network/network_cert_migrator_unittest.cc
+++ b/chromeos/network/network_cert_migrator_unittest.cc
@@ -106,13 +106,11 @@ class NetworkCertMigratorTest : public testing::Test {
void SetupWifiWithNss() {
const bool add_to_visible = true;
- const bool add_to_watchlist = true;
service_test_->AddService(kWifiStub,
kWifiStub,
shill::kTypeWifi,
shill::kStateOnline,
- add_to_visible,
- add_to_watchlist);
+ add_to_visible);
service_test_->SetServiceProperty(kWifiStub,
shill::kEapCaCertNssProperty,
base::StringValue(kNSSNickname));
@@ -134,13 +132,11 @@ class NetworkCertMigratorTest : public testing::Test {
void SetupVpnWithNss(bool open_vpn) {
const bool add_to_visible = true;
- const bool add_to_watchlist = true;
service_test_->AddService(kVPNStub,
kVPNStub,
shill::kTypeVPN,
shill::kStateIdle,
- add_to_visible,
- add_to_watchlist);
+ add_to_visible);
base::DictionaryValue provider;
const char* nss_property = open_vpn ? shill::kOpenVPNCaCertNSSProperty
: shill::kL2tpIpsecCaCertNssProperty;

Powered by Google App Engine
This is Rietveld 408576698