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

Unified Diff: chrome/browser/policy/configuration_policy_reader_unittest.cc

Issue 8413037: Display policy parsing errors in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed extra byte, rebased Created 9 years, 2 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 | « chrome/browser/policy/configuration_policy_reader.cc ('k') | chrome/browser/policy/policy_error_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/configuration_policy_reader_unittest.cc
diff --git a/chrome/browser/policy/configuration_policy_reader_unittest.cc b/chrome/browser/policy/configuration_policy_reader_unittest.cc
index 670c0b526f9684457eaddb673ea2c844e8594694..8c5b275d909b81d32b4c24ca9b6229f2ad31894b 100644
--- a/chrome/browser/policy/configuration_policy_reader_unittest.cc
+++ b/chrome/browser/policy/configuration_policy_reader_unittest.cc
@@ -27,7 +27,7 @@ class ConfigurationPolicyReaderTest : public testing::Test {
new ConfigurationPolicyReader(&provider_, PolicyStatusInfo::MANDATORY));
recommended_reader_.reset(new ConfigurationPolicyReader(&provider_,
PolicyStatusInfo::RECOMMENDED));
- status_ok_ = ASCIIToUTF16("ok");
+ status_ok_ = ASCIIToUTF16("OK");
}
DictionaryValue* CreateDictionary(const char* policy_name,
@@ -158,11 +158,11 @@ class PolicyStatusTest : public testing::Test {
managed_cloud_,
recommended_platform_,
recommended_cloud_));
- status_ok_ = ASCIIToUTF16("ok");
+ status_ok_ = ASCIIToUTF16("OK");
policy_list_ = GetChromePolicyDefinitionList();
policy_list_size_ =
- static_cast<size_t>(policy_list_->end - policy_list_->begin);
+ static_cast<size_t>(policy_list_->end - policy_list_->begin);
}
void DontSendPolicies() {
« no previous file with comments | « chrome/browser/policy/configuration_policy_reader.cc ('k') | chrome/browser/policy/policy_error_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698