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

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

Issue 7972013: ConfigurationPolicyPrefStore refactoring to surface error messages. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 9 years, 3 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
Index: chrome/browser/policy/config_dir_policy_provider_unittest.cc
diff --git a/chrome/browser/policy/config_dir_policy_provider_unittest.cc b/chrome/browser/policy/config_dir_policy_provider_unittest.cc
index 0b3b32c466f075d37bde5b51ff2eec7f02069a7d..878d2a297fcf15129c5a91780e4df69c25a8048c 100644
--- a/chrome/browser/policy/config_dir_policy_provider_unittest.cc
+++ b/chrome/browser/policy/config_dir_policy_provider_unittest.cc
@@ -193,18 +193,6 @@ TEST_P(ConfigDirPolicyProviderValueTest, Default) {
EXPECT_TRUE(policy_map.empty());
}
-TEST_P(ConfigDirPolicyProviderValueTest, NullValue) {
- DictionaryValue dict;
- dict.Set(GetParam().policy_key(), Value::CreateNullValue());
- WriteConfigFile(dict, "empty");
- ConfigDirPolicyProvider provider(
- ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList(),
- test_dir());
- PolicyMap policy_map;
- EXPECT_TRUE(provider.Provide(&policy_map));
- EXPECT_TRUE(policy_map.empty());
-}
-
TEST_P(ConfigDirPolicyProviderValueTest, TestValue) {
DictionaryValue dict;
dict.Set(GetParam().policy_key(), GetParam().test_value()->DeepCopy());

Powered by Google App Engine
This is Rietveld 408576698