Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: chrome/install_static/install_util_unittest.cc

Issue 2476573004: Use InstallDetails in installer_util. (Closed)
Patch Set: sync to position 451835 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/google/google_update_win_unittest.cc ('k') | chrome/install_static/test/scoped_install_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698