| 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/product_install_details.h" | 5 #include "chrome/install_static/product_install_details.h" |
| 6 | 6 |
| 7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/i18n/case_conversion.h" | 9 #include "base/i18n/case_conversion.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 13 #include "base/test/test_reg_util_win.h" | 13 #include "base/test/test_reg_util_win.h" |
| 14 #include "base/win/registry.h" | 14 #include "base/win/registry.h" |
| 15 #include "base/win/windows_version.h" | 15 #include "base/win/windows_version.h" |
| 16 #include "chrome/install_static/install_constants.h" | 16 #include "chrome/install_static/install_constants.h" |
| 17 #include "chrome/install_static/install_details.h" |
| 17 #include "chrome/install_static/install_modes.h" | 18 #include "chrome/install_static/install_modes.h" |
| 18 #include "chrome_elf/nt_registry/nt_registry.h" | 19 #include "chrome_elf/nt_registry/nt_registry.h" |
| 19 #include "testing/gmock/include/gmock/gmock.h" | 20 #include "testing/gmock/include/gmock/gmock.h" |
| 20 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 21 | 22 |
| 22 using ::testing::Eq; | 23 using ::testing::Eq; |
| 23 using ::testing::StrEq; | 24 using ::testing::StrEq; |
| 24 | 25 |
| 25 namespace install_static { | 26 namespace install_static { |
| 26 | 27 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 EXPECT_THAT(details->channel(), StrEq(test_data().channel)); | 346 EXPECT_THAT(details->channel(), StrEq(test_data().channel)); |
| 346 } | 347 } |
| 347 } | 348 } |
| 348 } | 349 } |
| 349 | 350 |
| 350 INSTANTIATE_TEST_CASE_P(All, | 351 INSTANTIATE_TEST_CASE_P(All, |
| 351 MakeProductDetailsTest, | 352 MakeProductDetailsTest, |
| 352 testing::ValuesIn(kTestData)); | 353 testing::ValuesIn(kTestData)); |
| 353 | 354 |
| 354 } // namespace install_static | 355 } // namespace install_static |
| OLD | NEW |