From 813326fdc8dff24091cd7b8def4f65142e1af07f Mon Sep 17 00:00:00 2001 From: stevenjb Date: Thu, 19 Feb 2015 12:23:04 -0800 Subject: Separate networkingPrivate ServiceClient API test expectations Maintaining the test expectations across two very different implementations is challenging at best. Separate the test expectations. BUG=371442 Review URL: https://codereview.chromium.org/929793007 Cr-Commit-Position: refs/heads/master@{#317123} --- components/wifi/fake_wifi_service.cc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'components/wifi/fake_wifi_service.cc') diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc index 7246d9b..a35d002 100644 --- a/components/wifi/fake_wifi_service.cc +++ b/components/wifi/fake_wifi_service.cc @@ -5,7 +5,6 @@ #include "components/wifi/fake_wifi_service.h" #include "base/bind.h" -#include "base/json/json_reader.h" #include "base/message_loop/message_loop.h" #include "components/onc/onc_constants.h" @@ -23,25 +22,6 @@ FakeWiFiService::FakeWiFiService() { network_properties.ssid = "wifi1"; network_properties.security = onc::wifi::kWEP_PSK; network_properties.signal_strength = 40; - network_properties.json_extra = - "{" - " \"MacAddress\": \"00:11:22:AA:BB:CC\"," - " \"IPAddressConfigType\": \"Static\"," - " \"IPConfigs\": [{" - " \"Gateway\": \"0.0.0.1\"," - " \"IPAddress\": \"0.0.0.0\"," - " \"RoutingPrefix\": 0," - " \"Type\": \"IPv4\"" - " }]," - " \"StaticIPConfig\": {" - " \"IPAddress\": \"1.2.3.4\"," - " \"Type\": \"IPv4\"" - " }," - " \"WiFi\": {" - " \"Frequency\": 2400," - " \"FrequencyList\": [2400]" - " }" - "}"; networks_.push_back(network_properties); } { -- cgit v1.1