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

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

Issue 8395007: Add policy for blocking GCP printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build break and respond to additional feedback 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/app/policy/policy_templates.json ('k') | chrome/browser/policy/configuration_policy_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1b8e3e0ba5a684e53d212fae280c13949dd36fe3..a3cb1a8c6be10b21c99b8b1575e5f8ae5dfe2ff2 100644
--- a/chrome/browser/policy/config_dir_policy_provider_unittest.cc
+++ b/chrome/browser/policy/config_dir_policy_provider_unittest.cc
@@ -363,6 +363,17 @@ INSTANTIATE_TEST_CASE_P(
kPolicyURLWhitelist,
key::kURLWhitelist)));
+// Adds additional cases that can't be included in
+// ConfigDirPolicyProviderValueTestInstance since testing::Values is limited
+// to 50 entries.
+INSTANTIATE_TEST_CASE_P(
+ ConfigDirPolicyProviderValueTestInstanceContinued,
+ ConfigDirPolicyProviderValueTest,
+ testing::Values(
+ ValueTestParams::ForBooleanPolicy(
+ kPolicyCloudPrintSubmitEnabled,
+ key::kCloudPrintSubmitEnabled)));
+
// Test parameters for all policies that are supported on ChromeOS only.
#if defined(OS_CHROMEOS)
INSTANTIATE_TEST_CASE_P(
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/policy/configuration_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698