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 #include <utility> | |
9 | 8 |
10 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
11 #include "base/test/test_reg_util_win.h" | 10 #include "base/test/test_reg_util_win.h" |
12 #include "chrome/install_static/install_details.h" | 11 #include "chrome/install_static/install_details.h" |
13 #include "chrome/install_static/test/scoped_install_details.h" | 12 #include "chrome/install_static/test/scoped_install_details.h" |
14 #include "chrome_elf/nt_registry/nt_registry.h" | 13 #include "chrome_elf/nt_registry/nt_registry.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
17 | 16 |
18 using ::testing::ElementsAre; | 17 using ::testing::ElementsAre; |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 testing::Values("user"))); | 416 testing::Values("user"))); |
418 #else // GOOGLE_CHROME_BUILD | 417 #else // GOOGLE_CHROME_BUILD |
419 // Chromium supports user and system levels. | 418 // Chromium supports user and system levels. |
420 INSTANTIATE_TEST_CASE_P(Chromium, | 419 INSTANTIATE_TEST_CASE_P(Chromium, |
421 InstallStaticUtilTest, | 420 InstallStaticUtilTest, |
422 testing::Combine(testing::Values(CHROMIUM_INDEX), | 421 testing::Combine(testing::Values(CHROMIUM_INDEX), |
423 testing::Values("user", "system"))); | 422 testing::Values("user", "system"))); |
424 #endif // !GOOGLE_CHROME_BUILD | 423 #endif // !GOOGLE_CHROME_BUILD |
425 | 424 |
426 } // namespace install_static | 425 } // namespace install_static |
OLD | NEW |