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

Unified Diff: chromeos/network/onc/onc_certificate_importer_unittest.cc

Issue 11962048: This adds Cellular to the Shill to ONC translation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing broken unit test Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/onc/onc_certificate_importer.cc ('k') | chromeos/network/onc/onc_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_certificate_importer_unittest.cc
diff --git a/chromeos/network/onc/onc_certificate_importer_unittest.cc b/chromeos/network/onc/onc_certificate_importer_unittest.cc
index 736c3a9810d382725c93df2b10ca8a602b4e9296..a75f4ddc984293ee2b2c15ff9bdefe554de19137 100644
--- a/chromeos/network/onc/onc_certificate_importer_unittest.cc
+++ b/chromeos/network/onc/onc_certificate_importer_unittest.cc
@@ -83,11 +83,12 @@ class ONCCertificateImporterTest : public testing::Test {
scoped_ptr<base::DictionaryValue> onc =
test_utils::ReadTestDictionary(filename);
base::ListValue* certificates;
- onc->GetListWithoutPathExpansion(kCertificates, &certificates);
+ onc->GetListWithoutPathExpansion(toplevel_config::kCertificates,
+ &certificates);
base::DictionaryValue* certificate;
certificates->GetDictionary(0, &certificate);
- certificate->GetStringWithoutPathExpansion(kGUID, guid);
+ certificate->GetStringWithoutPathExpansion(certificate::kGUID, guid);
CertificateImporter importer(ONC_SOURCE_USER_IMPORT,
false /* don't allow web trust */);
« no previous file with comments | « chromeos/network/onc/onc_certificate_importer.cc ('k') | chromeos/network/onc/onc_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698