Home | History | Annotate | Download | only in onc

Lines Matching defs:onc

5 #include "chromeos/network/onc/onc_translator.h"
9 #include "chromeos/network/onc/onc_signature.h"
10 #include "chromeos/network/onc/onc_test_utils.h"
11 #include "components/onc/onc_constants.h"
15 namespace onc {
17 // First parameter: Filename of source ONC.
23 // Test the translation from ONC to Shill json.
39 // Test different network types, such that each ONC object type is tested at
45 std::make_pair("ethernet.onc", "shill_ethernet.json"),
46 std::make_pair("ethernet_with_eap_and_cert_pems.onc",
48 std::make_pair("valid_wifi_psk.onc", "shill_wifi_psk.json"),
49 std::make_pair("wifi_clientcert_with_cert_pems.onc",
51 std::make_pair("valid_wifi_clientref.onc", "shill_wifi_clientref.json"),
52 std::make_pair("valid_l2tpipsec.onc", "shill_l2tpipsec.json"),
53 std::make_pair("l2tpipsec_clientcert_with_cert_pems.onc",
55 std::make_pair("valid_openvpn_with_cert_pems.onc",
57 std::make_pair("openvpn_clientcert_with_cert_pems.onc",
59 std::make_pair("cellular.onc", "shill_cellular.json"),
60 std::make_pair("wimax.onc", "shill_wimax.json")));
63 // Second parameter: Filename of expected translated ONC network part.
65 // Note: This translation direction doesn't have to reconstruct all of the ONC
81 *shill_network, ::onc::ONC_SOURCE_NONE, &kNetworkWithStateSignature));
92 "translation_of_shill_ethernet.onc"),
94 "translation_of_shill_ethernet_with_eap.onc"),
96 "translation_of_shill_ethernet_with_ipconfig.onc"),
98 "translation_of_shill_wifi_clientcert.onc"),
100 "translation_of_shill_wifi_wpa1.onc"),
102 "translation_of_shill_l2tpipsec.onc"),
104 "translation_of_shill_openvpn.onc"),
106 "translation_of_shill_openvpn_with_errors.onc"),
108 "translation_of_shill_wifi_with_state.onc"),
110 "translation_of_shill_cellular_with_state.onc"),
112 "translation_of_shill_wimax_with_state.onc")));
114 } // namespace onc