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

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

Issue 2853563002: ONC: Translate EAP from Shill to ONC (Closed)
Patch Set: Test for empty EAP field and cl format Created 3 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
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_translator.h" 5 #include "chromeos/network/onc/onc_translator.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 std::make_pair("ethernet_with_eap_and_cert_pems.onc", 49 std::make_pair("ethernet_with_eap_and_cert_pems.onc",
50 "shill_ethernet_with_eap.json"), 50 "shill_ethernet_with_eap.json"),
51 std::make_pair("valid_wifi_psk.onc", "shill_wifi_psk.json"), 51 std::make_pair("valid_wifi_psk.onc", "shill_wifi_psk.json"),
52 std::make_pair("wifi_clientcert_with_cert_pems.onc", 52 std::make_pair("wifi_clientcert_with_cert_pems.onc",
53 "shill_wifi_clientcert.json"), 53 "shill_wifi_clientcert.json"),
54 std::make_pair("wifi_wep_8021x_clientcert_with_cert_pems.onc", 54 std::make_pair("wifi_wep_8021x_clientcert_with_cert_pems.onc",
55 "shill_wifi_wep_8021x_clientcert.json"), 55 "shill_wifi_wep_8021x_clientcert.json"),
56 std::make_pair("valid_wifi_clientref.onc", "shill_wifi_clientref.json"), 56 std::make_pair("valid_wifi_clientref.onc", "shill_wifi_clientref.json"),
57 std::make_pair("valid_l2tpipsec.onc", "shill_l2tpipsec.json"), 57 std::make_pair("valid_l2tpipsec.onc", "shill_l2tpipsec.json"),
58 std::make_pair("wifi_dhcp.onc", "shill_wifi_dhcp.json"), 58 std::make_pair("wifi_dhcp.onc", "shill_wifi_dhcp.json"),
59 std::make_pair("wifi_eap_ttls.onc", "shill_wifi_eap_ttls.json"),
59 std::make_pair("wifi_proxy.onc", "shill_wifi_proxy.json"), 60 std::make_pair("wifi_proxy.onc", "shill_wifi_proxy.json"),
60 std::make_pair("wifi_proxy_pac.onc", "shill_wifi_proxy_pac.json"), 61 std::make_pair("wifi_proxy_pac.onc", "shill_wifi_proxy_pac.json"),
61 std::make_pair("l2tpipsec_clientcert_with_cert_pems.onc", 62 std::make_pair("l2tpipsec_clientcert_with_cert_pems.onc",
62 "shill_l2tpipsec_clientcert.json"), 63 "shill_l2tpipsec_clientcert.json"),
63 std::make_pair("valid_openvpn_with_cert_pems.onc", 64 std::make_pair("valid_openvpn_with_cert_pems.onc",
64 "shill_openvpn.json"), 65 "shill_openvpn.json"),
65 std::make_pair("openvpn_clientcert_with_cert_pems.onc", 66 std::make_pair("openvpn_clientcert_with_cert_pems.onc",
66 "shill_openvpn_clientcert.json"), 67 "shill_openvpn_clientcert.json"),
67 std::make_pair("cellular.onc", "shill_cellular.json"), 68 std::make_pair("cellular.onc", "shill_cellular.json"),
68 std::make_pair("wimax.onc", "shill_wimax.json"), 69 std::make_pair("wimax.onc", "shill_wimax.json"),
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 "translation_of_shill_wifi_wep_8021x_clientcert.onc"), 114 "translation_of_shill_wifi_wep_8021x_clientcert.onc"),
114 std::make_pair("shill_output_l2tpipsec.json", 115 std::make_pair("shill_output_l2tpipsec.json",
115 "translation_of_shill_l2tpipsec.onc"), 116 "translation_of_shill_l2tpipsec.onc"),
116 std::make_pair("shill_output_openvpn.json", 117 std::make_pair("shill_output_openvpn.json",
117 "translation_of_shill_openvpn.onc"), 118 "translation_of_shill_openvpn.onc"),
118 std::make_pair("shill_output_openvpn_with_errors.json", 119 std::make_pair("shill_output_openvpn_with_errors.json",
119 "translation_of_shill_openvpn_with_errors.onc"), 120 "translation_of_shill_openvpn_with_errors.onc"),
120 std::make_pair("shill_tether.json", "tether.onc"), 121 std::make_pair("shill_tether.json", "tether.onc"),
121 std::make_pair("shill_wifi_with_state.json", 122 std::make_pair("shill_wifi_with_state.json",
122 "translation_of_shill_wifi_with_state.onc"), 123 "translation_of_shill_wifi_with_state.onc"),
124 std::make_pair("shill_wifi_eap_ttls.json",
125 "translation_of_shill_wifi_eap_ttls.onc"),
123 std::make_pair("shill_wifi_proxy.json", 126 std::make_pair("shill_wifi_proxy.json",
124 "translation_of_shill_wifi_proxy.onc"), 127 "translation_of_shill_wifi_proxy.onc"),
125 std::make_pair("shill_wifi_proxy_pac.json", 128 std::make_pair("shill_wifi_proxy_pac.json",
126 "translation_of_shill_wifi_proxy_pac.onc"), 129 "translation_of_shill_wifi_proxy_pac.onc"),
127 std::make_pair("shill_cellular_with_state.json", 130 std::make_pair("shill_cellular_with_state.json",
128 "translation_of_shill_cellular_with_state.onc"), 131 "translation_of_shill_cellular_with_state.onc"),
129 std::make_pair("shill_wimax_with_state.json", 132 std::make_pair("shill_wimax_with_state.json",
130 "translation_of_shill_wimax_with_state.onc"), 133 "translation_of_shill_wimax_with_state.onc"),
131 std::make_pair("shill_output_third_party_vpn.json", 134 std::make_pair("shill_output_third_party_vpn.json",
132 "third_party_vpn.onc"))); 135 "third_party_vpn.onc")));
133 136
134 } // namespace onc 137 } // namespace onc
135 } // namespace chromeos 138 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698