diff options
author | danno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 11:41:13 +0000 |
---|---|---|
committer | danno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 11:41:13 +0000 |
commit | 7abb6bbad24ae23681e55fe518632eded83bceb9 (patch) | |
tree | 8834f17734ead89f70432187a430ac9fc486ac8e /chrome/browser/config_dir_policy_provider_unittest.cc | |
parent | b5a7c90f4fe3c7ce6b0416459065e4319eff1c18 (diff) | |
download | chromium_src-7abb6bbad24ae23681e55fe518632eded83bceb9.zip chromium_src-7abb6bbad24ae23681e55fe518632eded83bceb9.tar.gz chromium_src-7abb6bbad24ae23681e55fe518632eded83bceb9.tar.bz2 |
Correct polarity and disable value of boolean policies in ADM/ADMX files
BUG=46646
TEST=manual tests
Review URL: http://codereview.chromium.org/2817021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/config_dir_policy_provider_unittest.cc')
-rw-r--r-- | chrome/browser/config_dir_policy_provider_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/config_dir_policy_provider_unittest.cc b/chrome/browser/config_dir_policy_provider_unittest.cc index 0d3c2a0..c992ff3 100644 --- a/chrome/browser/config_dir_policy_provider_unittest.cc +++ b/chrome/browser/config_dir_policy_provider_unittest.cc @@ -67,7 +67,7 @@ TEST_F(ConfigDirPolicyProviderTest, ReadPrefsNonExistentDirectory) { // Test reading back a single preference value. TEST_F(ConfigDirPolicyProviderTest, ReadPrefsSinglePref) { DictionaryValue test_dict; - test_dict.SetString(L"Homepage", L"http://www.google.com"); + test_dict.SetString(L"HomepageLocation", L"http://www.google.com"); WriteConfigFile(test_dict, "config_file"); ConfigDirPolicyProvider provider(test_dir_); @@ -91,11 +91,11 @@ TEST_F(ConfigDirPolicyProviderTest, ReadPrefsMergePrefs) { // filesystem may return files in arbitrary order, there is no way to be sure, // but this is better than nothing. DictionaryValue test_dict_bar; - test_dict_bar.SetString(L"Homepage", L"http://bar.com"); + test_dict_bar.SetString(L"HomepageLocation", L"http://bar.com"); for (unsigned int i = 1; i <= 4; ++i) WriteConfigFile(test_dict_bar, IntToString(i)); DictionaryValue test_dict_foo; - test_dict_foo.SetString(L"Homepage", L"http://foo.com"); + test_dict_foo.SetString(L"HomepageLocation", L"http://foo.com"); WriteConfigFile(test_dict_foo, "9"); for (unsigned int i = 5; i <= 8; ++i) WriteConfigFile(test_dict_bar, IntToString(i)); |