| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <gtest/gtest.h> | 5 #include <gtest/gtest.h> |
| 6 | 6 |
| 7 #include "base/mac/scoped_cftyperef.h" | 7 #include "base/mac/scoped_cftyperef.h" |
| 8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
| 9 #include "base/sys_string_conversions.h" | 9 #include "base/sys_string_conversions.h" |
| 10 #include "chrome/browser/policy/configuration_policy_pref_store.h" | 10 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 key::kURLBlacklist))); | 355 key::kURLBlacklist))); |
| 356 | 356 |
| 357 // testing::Values has a limit of 50 test templates, which is reached by the | 357 // testing::Values has a limit of 50 test templates, which is reached by the |
| 358 // instantiations above. Add tests for new policies here: | 358 // instantiations above. Add tests for new policies here: |
| 359 INSTANTIATE_TEST_CASE_P( | 359 INSTANTIATE_TEST_CASE_P( |
| 360 ConfigurationPolicyProviderMacTestInstance2, | 360 ConfigurationPolicyProviderMacTestInstance2, |
| 361 ConfigurationPolicyProviderMacTest, | 361 ConfigurationPolicyProviderMacTest, |
| 362 testing::Values( | 362 testing::Values( |
| 363 PolicyTestParams::ForListPolicy( | 363 PolicyTestParams::ForListPolicy( |
| 364 kPolicyURLWhitelist, | 364 kPolicyURLWhitelist, |
| 365 key::kURLWhitelist))); | 365 key::kURLWhitelist), |
| 366 | 366 PolicyTestParams::ForBooleanPolicy( |
| 367 kPolicyCloudPrintSubmitEnabled, |
| 368 key::kCloudPrintSubmitEnabled))); |
| 367 } // namespace policy | 369 } // namespace policy |
| OLD | NEW |