OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <tuple> | 5 #include <tuple> |
6 | 6 |
7 #include "base/test/test_reg_util_win.h" | 7 #include "base/test/test_reg_util_win.h" |
8 #include "base/win/registry.h" | 8 #include "base/win/registry.h" |
9 #include "chrome/install_static/install_util.h" | 9 #include "chrome/install_static/install_util.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "testing/platform_test.h" | 11 #include "testing/platform_test.h" |
12 | 12 |
| 13 using namespace install_static; |
| 14 |
13 namespace { | 15 namespace { |
14 | 16 |
15 const wchar_t kRegPathClientState[] = L"Software\\Google\\Update\\ClientState"; | 17 const wchar_t kRegPathClientState[] = L"Software\\Google\\Update\\ClientState"; |
16 const wchar_t kRegPathClientStateMedium[] = | 18 const wchar_t kRegPathClientStateMedium[] = |
17 L"Software\\Google\\Update\\ClientStateMedium"; | 19 L"Software\\Google\\Update\\ClientStateMedium"; |
18 const wchar_t kRegValueUsageStats[] = L"usagestats"; | 20 const wchar_t kRegValueUsageStats[] = L"usagestats"; |
19 const wchar_t kUninstallArgumentsField[] = L"UninstallArguments"; | 21 const wchar_t kUninstallArgumentsField[] = L"UninstallArguments"; |
20 | 22 |
21 const wchar_t kAppGuidCanary[] = | 23 const wchar_t kAppGuidCanary[] = |
22 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; | 24 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 INSTANTIATE_TEST_CASE_P(Canary, ChromeElfUtilTest, | 182 INSTANTIATE_TEST_CASE_P(Canary, ChromeElfUtilTest, |
181 testing::Combine(testing::Values("canary"), | 183 testing::Combine(testing::Values("canary"), |
182 testing::Values("user"), | 184 testing::Values("user"), |
183 testing::Values("single"))); | 185 testing::Values("single"))); |
184 INSTANTIATE_TEST_CASE_P(GoogleChrome, ChromeElfUtilTest, | 186 INSTANTIATE_TEST_CASE_P(GoogleChrome, ChromeElfUtilTest, |
185 testing::Combine(testing::Values("google"), | 187 testing::Combine(testing::Values("google"), |
186 testing::Values("user", "system"), | 188 testing::Values("user", "system"), |
187 testing::Values("single", "multi"))); | 189 testing::Values("single", "multi"))); |
188 | 190 |
189 } // namespace | 191 } // namespace |
OLD | NEW |