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

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

Issue 1412283006: Translate 802.1x WEP ("Enterprise WEP") (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODOs Created 5 years, 1 month 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 <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 INSTANTIATE_TEST_CASE_P( 44 INSTANTIATE_TEST_CASE_P(
45 ONCTranslatorOncToShillTest, 45 ONCTranslatorOncToShillTest,
46 ONCTranslatorOncToShillTest, 46 ONCTranslatorOncToShillTest,
47 ::testing::Values( 47 ::testing::Values(
48 std::make_pair("ethernet.onc", "shill_ethernet.json"), 48 std::make_pair("ethernet.onc", "shill_ethernet.json"),
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",
55 "shill_wifi_wep_8021x_clientcert.json"),
54 std::make_pair("valid_wifi_clientref.onc", "shill_wifi_clientref.json"), 56 std::make_pair("valid_wifi_clientref.onc", "shill_wifi_clientref.json"),
55 std::make_pair("valid_l2tpipsec.onc", "shill_l2tpipsec.json"), 57 std::make_pair("valid_l2tpipsec.onc", "shill_l2tpipsec.json"),
56 std::make_pair("wifi_dhcp.onc", "shill_wifi_dhcp.json"), 58 std::make_pair("wifi_dhcp.onc", "shill_wifi_dhcp.json"),
57 std::make_pair("wifi_proxy.onc", "shill_wifi_proxy.json"), 59 std::make_pair("wifi_proxy.onc", "shill_wifi_proxy.json"),
58 std::make_pair("wifi_proxy_pac.onc", "shill_wifi_proxy_pac.json"), 60 std::make_pair("wifi_proxy_pac.onc", "shill_wifi_proxy_pac.json"),
59 std::make_pair("l2tpipsec_clientcert_with_cert_pems.onc", 61 std::make_pair("l2tpipsec_clientcert_with_cert_pems.onc",
60 "shill_l2tpipsec_clientcert.json"), 62 "shill_l2tpipsec_clientcert.json"),
61 std::make_pair("valid_openvpn_with_cert_pems.onc", 63 std::make_pair("valid_openvpn_with_cert_pems.onc",
62 "shill_openvpn.json"), 64 "shill_openvpn.json"),
63 std::make_pair("openvpn_clientcert_with_cert_pems.onc", 65 std::make_pair("openvpn_clientcert_with_cert_pems.onc",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 std::make_pair("shill_ethernet.json", 101 std::make_pair("shill_ethernet.json",
100 "translation_of_shill_ethernet.onc"), 102 "translation_of_shill_ethernet.onc"),
101 std::make_pair("shill_ethernet_with_eap.json", 103 std::make_pair("shill_ethernet_with_eap.json",
102 "translation_of_shill_ethernet_with_eap.onc"), 104 "translation_of_shill_ethernet_with_eap.onc"),
103 std::make_pair("shill_ethernet_with_ipconfig.json", 105 std::make_pair("shill_ethernet_with_ipconfig.json",
104 "translation_of_shill_ethernet_with_ipconfig.onc"), 106 "translation_of_shill_ethernet_with_ipconfig.onc"),
105 std::make_pair("shill_wifi_clientcert.json", 107 std::make_pair("shill_wifi_clientcert.json",
106 "translation_of_shill_wifi_clientcert.onc"), 108 "translation_of_shill_wifi_clientcert.onc"),
107 std::make_pair("shill_wifi_non_utf8_ssid.json", 109 std::make_pair("shill_wifi_non_utf8_ssid.json",
108 "translation_of_shill_wifi_non_utf8_ssid.onc"), 110 "translation_of_shill_wifi_non_utf8_ssid.onc"),
111 std::make_pair("shill_wifi_wep_8021x_clientcert.json",
112 "translation_of_shill_wifi_wep_8021x_clientcert.onc"),
109 std::make_pair("shill_output_l2tpipsec.json", 113 std::make_pair("shill_output_l2tpipsec.json",
110 "translation_of_shill_l2tpipsec.onc"), 114 "translation_of_shill_l2tpipsec.onc"),
111 std::make_pair("shill_output_openvpn.json", 115 std::make_pair("shill_output_openvpn.json",
112 "translation_of_shill_openvpn.onc"), 116 "translation_of_shill_openvpn.onc"),
113 std::make_pair("shill_output_openvpn_with_errors.json", 117 std::make_pair("shill_output_openvpn_with_errors.json",
114 "translation_of_shill_openvpn_with_errors.onc"), 118 "translation_of_shill_openvpn_with_errors.onc"),
115 std::make_pair("shill_wifi_with_state.json", 119 std::make_pair("shill_wifi_with_state.json",
116 "translation_of_shill_wifi_with_state.onc"), 120 "translation_of_shill_wifi_with_state.onc"),
117 std::make_pair("shill_wifi_proxy.json", 121 std::make_pair("shill_wifi_proxy.json",
118 "translation_of_shill_wifi_proxy.onc"), 122 "translation_of_shill_wifi_proxy.onc"),
119 std::make_pair("shill_wifi_proxy_pac.json", 123 std::make_pair("shill_wifi_proxy_pac.json",
120 "translation_of_shill_wifi_proxy_pac.onc"), 124 "translation_of_shill_wifi_proxy_pac.onc"),
121 std::make_pair("shill_cellular_with_state.json", 125 std::make_pair("shill_cellular_with_state.json",
122 "translation_of_shill_cellular_with_state.onc"), 126 "translation_of_shill_cellular_with_state.onc"),
123 std::make_pair("shill_wimax_with_state.json", 127 std::make_pair("shill_wimax_with_state.json",
124 "translation_of_shill_wimax_with_state.onc"), 128 "translation_of_shill_wimax_with_state.onc"),
125 std::make_pair("shill_output_third_party_vpn.json", 129 std::make_pair("shill_output_third_party_vpn.json",
126 "third_party_vpn.onc"))); 130 "third_party_vpn.onc")));
127 131
128 } // namespace onc 132 } // namespace onc
129 } // namespace chromeos 133 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_translator_shill_to_onc.cc ('k') | chromeos/test/data/network/shill_wifi_wep_8021x_clientcert.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698