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

Side by Side Diff: chromeos/network/onc/onc_translator_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_translator.h" 5 #include "chromeos/network/onc/onc_translator.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/network/onc/onc_signature.h" 9 #include "chromeos/network/onc/onc_signature.h"
10 #include "chromeos/network/onc/onc_test_utils.h" 10 #include "chromeos/network/onc/onc_test_utils.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 85 }
86 86
87 INSTANTIATE_TEST_CASE_P( 87 INSTANTIATE_TEST_CASE_P(
88 ONCTranslatorShillToOncTest, 88 ONCTranslatorShillToOncTest,
89 ONCTranslatorShillToOncTest, 89 ONCTranslatorShillToOncTest,
90 ::testing::Values( 90 ::testing::Values(
91 std::make_pair("shill_ethernet.json", 91 std::make_pair("shill_ethernet.json",
92 "translation_of_shill_ethernet.onc"), 92 "translation_of_shill_ethernet.onc"),
93 std::make_pair("shill_ethernet_with_eap.json", 93 std::make_pair("shill_ethernet_with_eap.json",
94 "translation_of_shill_ethernet_with_eap.onc"), 94 "translation_of_shill_ethernet_with_eap.onc"),
95 std::make_pair("shill_ethernet_with_ipconfig.json",
96 "translation_of_shill_ethernet_with_ipconfig.onc"),
95 std::make_pair("shill_wifi_clientcert.json", 97 std::make_pair("shill_wifi_clientcert.json",
96 "translation_of_shill_wifi_clientcert.onc"), 98 "translation_of_shill_wifi_clientcert.onc"),
97 std::make_pair("shill_wifi_wpa1.json", 99 std::make_pair("shill_wifi_wpa1.json",
98 "translation_of_shill_wifi_wpa1.onc"), 100 "translation_of_shill_wifi_wpa1.onc"),
99 std::make_pair("shill_l2tpipsec.json", 101 std::make_pair("shill_l2tpipsec.json",
100 "translation_of_shill_l2tpipsec.onc"), 102 "translation_of_shill_l2tpipsec.onc"),
101 std::make_pair("shill_openvpn.json", 103 std::make_pair("shill_openvpn.json",
102 "translation_of_shill_openvpn.onc"), 104 "translation_of_shill_openvpn.onc"),
103 std::make_pair("shill_openvpn_with_errors.json", 105 std::make_pair("shill_openvpn_with_errors.json",
104 "translation_of_shill_openvpn_with_errors.onc"), 106 "translation_of_shill_openvpn_with_errors.onc"),
105 std::make_pair("shill_wifi_with_state.json", 107 std::make_pair("shill_wifi_with_state.json",
106 "translation_of_shill_wifi_with_state.onc"), 108 "translation_of_shill_wifi_with_state.onc"),
107 std::make_pair("shill_cellular_with_state.json", 109 std::make_pair("shill_cellular_with_state.json",
108 "translation_of_shill_cellular_with_state.onc"))); 110 "translation_of_shill_cellular_with_state.onc")));
109 111
110 } // namespace onc 112 } // namespace onc
111 } // namespace chromeos 113 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_translator_shill_to_onc.cc ('k') | chromeos/network/onc/onc_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698