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

Unified Diff: chromeos/network/onc/onc_test_utils.h

Issue 16946002: Resolve certificate references in ONC by PEM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a unit test for the resolve function. Created 7 years, 6 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_signature.cc ('k') | chromeos/network/onc/onc_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_test_utils.h
diff --git a/chromeos/network/onc/onc_test_utils.h b/chromeos/network/onc/onc_test_utils.h
index 85e912d6f7864504f3145554180068fb9bdc1a0a..221318631cb8d991e6fbd5fccb2ad27bba1da91b 100644
--- a/chromeos/network/onc/onc_test_utils.h
+++ b/chromeos/network/onc/onc_test_utils.h
@@ -12,6 +12,7 @@
namespace base {
class DictionaryValue;
+class Value;
}
namespace chromeos {
@@ -26,11 +27,11 @@ std::string ReadTestData(const std::string& filename);
scoped_ptr<base::DictionaryValue> ReadTestDictionary(
const std::string& filename);
-// Checks that the pointer |actual| is not NULL but points to a dictionary that
+// Checks that the pointer |actual| is not NULL but points to a value that
// equals |expected| (using Value::Equals). The intended use case is:
// EXPECT_TRUE(test_utils::Equals(expected, actual));
-::testing::AssertionResult Equals(const base::DictionaryValue* expected,
- const base::DictionaryValue* actual);
+::testing::AssertionResult Equals(const base::Value* expected,
+ const base::Value* actual);
} // namespace test_utils
} // namespace onc
« no previous file with comments | « chromeos/network/onc/onc_signature.cc ('k') | chromeos/network/onc/onc_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698