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 #include <windows.h> | 6 #include <windows.h> |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 key::kURLBlacklist))); | 514 key::kURLBlacklist))); |
515 | 515 |
516 // testing::Values has a limit of 50 test templates, which is reached by the | 516 // testing::Values has a limit of 50 test templates, which is reached by the |
517 // instantiations above. Add tests for new policies here: | 517 // instantiations above. Add tests for new policies here: |
518 INSTANTIATE_TEST_CASE_P( | 518 INSTANTIATE_TEST_CASE_P( |
519 ConfigurationPolicyProviderWinTestInstance2, | 519 ConfigurationPolicyProviderWinTestInstance2, |
520 ConfigurationPolicyProviderWinTest, | 520 ConfigurationPolicyProviderWinTest, |
521 testing::Values( | 521 testing::Values( |
522 PolicyTestParams::ForListPolicy( | 522 PolicyTestParams::ForListPolicy( |
523 kPolicyURLWhitelist, | 523 kPolicyURLWhitelist, |
524 key::kURLWhitelist))); | 524 key::kURLWhitelist), |
| 525 PolicyTestParams::ForBooleanPolicy( |
| 526 kPolicyCloudPrintSubmitEnabled, |
| 527 key::kCloudPrintSubmitEnabled))); |
525 | 528 |
526 } // namespace policy | 529 } // namespace policy |
OLD | NEW |