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

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

Issue 2802713002: Enable side-by-side beta and dev channels. (Closed)
Patch Set: add missing test stanza for reland Created 3 years, 8 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
« no previous file with comments | « chrome/install_static/install_util_unittest.cc ('k') | chrome/installer/mini_installer/appid.h » ('j') | 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"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 { 133 {
134 L"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", 134 L"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
135 STABLE_INDEX, true, L"", 135 STABLE_INDEX, true, L"",
136 }, 136 },
137 { 137 {
138 L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome\\Application" 138 L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome\\Application"
139 L"\\chrome.exe", 139 L"\\chrome.exe",
140 STABLE_INDEX, false, L"", 140 STABLE_INDEX, false, L"",
141 }, 141 },
142 { 142 {
143 L"C:\\Program Files (x86)\\Google\\Chrome "
144 L"Beta\\Application\\chrome.exe",
145 BETA_INDEX, true, L"beta",
146 },
147 {
148 L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome Beta\\Application"
149 L"\\chrome.exe",
150 BETA_INDEX, false, L"beta",
151 },
152 {
153 L"C:\\Program Files (x86)\\Google\\Chrome Dev\\Application\\chrome.exe",
154 DEV_INDEX, true, L"dev",
155 },
156 {
157 L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome Dev\\Application"
158 L"\\chrome.exe",
159 DEV_INDEX, false, L"dev",
160 },
161 {
143 L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome SxS\\Application" 162 L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome SxS\\Application"
144 L"\\chrome.exe", 163 L"\\chrome.exe",
145 CANARY_INDEX, false, L"canary", 164 CANARY_INDEX, false, L"canary",
146 }, 165 },
147 { 166 {
148 L"C:\\Users\\user\\AppData\\Local\\Google\\CHROME SXS\\application" 167 L"C:\\Users\\user\\AppData\\Local\\Google\\CHROME SXS\\application"
149 L"\\chrome.exe", 168 L"\\chrome.exe",
150 CANARY_INDEX, false, L"canary", 169 CANARY_INDEX, false, L"canary",
151 }, 170 },
152 }; 171 };
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 MakeProductDetails(test_data().path)); 362 MakeProductDetails(test_data().path));
344 EXPECT_THAT(details->update_cohort_name(), StrEq(kPhony)); 363 EXPECT_THAT(details->update_cohort_name(), StrEq(kPhony));
345 } 364 }
346 } 365 }
347 366
348 INSTANTIATE_TEST_CASE_P(All, 367 INSTANTIATE_TEST_CASE_P(All,
349 MakeProductDetailsTest, 368 MakeProductDetailsTest,
350 testing::ValuesIn(kTestData)); 369 testing::ValuesIn(kTestData));
351 370
352 } // namespace install_static 371 } // namespace install_static
OLDNEW
« no previous file with comments | « chrome/install_static/install_util_unittest.cc ('k') | chrome/installer/mini_installer/appid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698