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

Side by Side Diff: chromeos/network/onc/onc_validator_unittest.cc

Issue 249193003: Add Shill to ONC translation of IPConfig. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/network/onc/onc_validator.h" 5 #include "chromeos/network/onc/onc_validator.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 false), 172 false),
173 OncParams("toplevel_openvpn_clientcert_with_cert_pems.onc", 173 OncParams("toplevel_openvpn_clientcert_with_cert_pems.onc",
174 &kToplevelConfigurationSignature, 174 &kToplevelConfigurationSignature,
175 false), 175 false),
176 OncParams("encrypted.onc", &kToplevelConfigurationSignature, true), 176 OncParams("encrypted.onc", &kToplevelConfigurationSignature, true),
177 OncParams("managed_vpn.onc", &kNetworkConfigurationSignature, true), 177 OncParams("managed_vpn.onc", &kNetworkConfigurationSignature, true),
178 OncParams("ethernet.onc", &kNetworkConfigurationSignature, true), 178 OncParams("ethernet.onc", &kNetworkConfigurationSignature, true),
179 OncParams("ethernet_with_eap.onc", 179 OncParams("ethernet_with_eap.onc",
180 &kNetworkConfigurationSignature, 180 &kNetworkConfigurationSignature,
181 true), 181 true),
182 OncParams("translation_of_shill_ethernet_with_ipconfig.onc",
183 &kNetworkConfigurationSignature,
184 true),
182 OncParams("translation_of_shill_wifi_with_state.onc", 185 OncParams("translation_of_shill_wifi_with_state.onc",
183 &kNetworkWithStateSignature, 186 &kNetworkWithStateSignature,
184 false), 187 false),
185 OncParams("valid_openvpn_with_cert_pems.onc", 188 OncParams("valid_openvpn_with_cert_pems.onc",
186 &kNetworkConfigurationSignature, 189 &kNetworkConfigurationSignature,
187 false))); 190 false)));
188 191
189 namespace { 192 namespace {
190 193
191 struct RepairParams { 194 struct RepairParams {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 &kNetworkConfigurationSignature, true, 421 &kNetworkConfigurationSignature, true,
419 ::onc::ONC_SOURCE_DEVICE_POLICY), 422 ::onc::ONC_SOURCE_DEVICE_POLICY),
420 RepairParams("", "")), 423 RepairParams("", "")),
421 std::make_pair(OncParams("openvpn-invalid-verify-x509-type", 424 std::make_pair(OncParams("openvpn-invalid-verify-x509-type",
422 &kNetworkConfigurationSignature, false), 425 &kNetworkConfigurationSignature, false),
423 RepairParams("", "")) 426 RepairParams("", ""))
424 )); 427 ));
425 428
426 } // namespace onc 429 } // namespace onc
427 } // namespace chromeos 430 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_translator_unittest.cc ('k') | chromeos/test/data/network/shill_ethernet_with_ipconfig.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698