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

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

Issue 2530163002: Make the name of the event source for SYSLOG configurable. (Closed)
Patch Set: Remove NOTREACHED and log suffix. Created 4 years 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
« no previous file with comments | « chrome/install_static/product_install_details.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
OLDNEW
« no previous file with comments | « chrome/install_static/product_install_details.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698