| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "chrome/install_static/install_util.h" | 5 #include "chrome/install_static/install_util.h" |
| 6 | 6 |
| 7 #include <tuple> | 7 #include <tuple> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/test/test_reg_util_win.h" | 10 #include "base/test/test_reg_util_win.h" |
| 11 #include "chrome/install_static/install_details.h" | 11 #include "chrome/install_static/install_details.h" |
| 12 #include "chrome/install_static/install_modes.h" |
| 12 #include "chrome/install_static/test/scoped_install_details.h" | 13 #include "chrome/install_static/test/scoped_install_details.h" |
| 13 #include "chrome_elf/nt_registry/nt_registry.h" | 14 #include "chrome_elf/nt_registry/nt_registry.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 17 |
| 17 using ::testing::ElementsAre; | 18 using ::testing::ElementsAre; |
| 18 | 19 |
| 19 namespace install_static { | 20 namespace install_static { |
| 20 | 21 |
| 21 // Tests the MatchPattern function in the install_static library. | 22 // Tests the MatchPattern function in the install_static library. |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 testing::Values("user"))); | 417 testing::Values("user"))); |
| 417 #else // GOOGLE_CHROME_BUILD | 418 #else // GOOGLE_CHROME_BUILD |
| 418 // Chromium supports user and system levels. | 419 // Chromium supports user and system levels. |
| 419 INSTANTIATE_TEST_CASE_P(Chromium, | 420 INSTANTIATE_TEST_CASE_P(Chromium, |
| 420 InstallStaticUtilTest, | 421 InstallStaticUtilTest, |
| 421 testing::Combine(testing::Values(CHROMIUM_INDEX), | 422 testing::Combine(testing::Values(CHROMIUM_INDEX), |
| 422 testing::Values("user", "system"))); | 423 testing::Values("user", "system"))); |
| 423 #endif // !GOOGLE_CHROME_BUILD | 424 #endif // !GOOGLE_CHROME_BUILD |
| 424 | 425 |
| 425 } // namespace install_static | 426 } // namespace install_static |
| OLD | NEW |