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

Issue 280753003: Add unit tests for the CLD component installer (Closed)

Created:
6 years, 7 months ago by Andrew Hayden (chromium.org)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, waffles, cpu_(ooo_6.6-7.5)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add unit tests for the CLD component installer BUG=367239 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271028

Patch Set 1 #

Patch Set 2 : Remove unused import #

Total comments: 12

Patch Set 3 : sorin@'s comments #

Patch Set 4 : Rebase #

Patch Set 5 : lint #

Patch Set 6 : git cl format #

Total comments: 5

Patch Set 7 : sorin@'s comment comments #

Patch Set 8 : Fix build on windows machines (no StartsWith/EndsWith parity) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -51 lines) Patch
M chrome/browser/component_updater/cld_component_installer.h View 1 2 3 4 1 chunk +47 lines, -5 lines 0 comments Download
M chrome/browser/component_updater/cld_component_installer.cc View 1 2 3 4 5 6 4 chunks +4 lines, -33 lines 0 comments Download
A chrome/browser/component_updater/test/cld_component_installer_unittest.cc View 1 2 3 4 5 6 7 1 chunk +110 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_tab_helper.cc View 1 2 3 4 5 chunks +14 lines, -11 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Andrew Hayden (chromium.org)
+sorin for component updater work, +jochen for chrome_paths. I've removed the ifdefs around the path ...
6 years, 7 months ago (2014-05-13 11:44:04 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years, 7 months ago (2014-05-14 08:29:15 UTC) #2
Sorin Jianu
Thank you Andrew! Please also run "git cl lint" and "git cl format". There are ...
6 years, 7 months ago (2014-05-14 10:46:18 UTC) #3
Andrew Hayden (chromium.org)
https://codereview.chromium.org/280753003/diff/20001/chrome/browser/component_updater/test/cld_component_installer_unittest.cc File chrome/browser/component_updater/test/cld_component_installer_unittest.cc (right): https://codereview.chromium.org/280753003/diff/20001/chrome/browser/component_updater/test/cld_component_installer_unittest.cc#newcode28 chrome/browser/component_updater/test/cld_component_installer_unittest.cc:28: ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); On 2014/05/14 10:46:19, Sorin Jianu wrote: > Is ...
6 years, 7 months ago (2014-05-14 16:17:29 UTC) #4
Andrew Hayden (chromium.org)
sorin@: PTAL, thanks!
6 years, 7 months ago (2014-05-14 16:18:32 UTC) #5
Andrew Hayden (chromium.org)
Er, forgot to run lint and format, let me do that.
6 years, 7 months ago (2014-05-14 17:09:48 UTC) #6
Andrew Hayden (chromium.org)
OK, linter and formatter are now happy. The formatter makes me cry a little.
6 years, 7 months ago (2014-05-14 17:19:07 UTC) #7
Sorin Jianu
lgtm Thank you Andrew. As I was saying, we take the changes from cl format ...
6 years, 7 months ago (2014-05-15 16:03:57 UTC) #8
Andrew Hayden (chromium.org)
https://codereview.chromium.org/280753003/diff/60002/chrome/browser/component_updater/cld_component_installer.cc File chrome/browser/component_updater/cld_component_installer.cc (right): https://codereview.chromium.org/280753003/diff/60002/chrome/browser/component_updater/cld_component_installer.cc#newcode128 chrome/browser/component_updater/cld_component_installer.cc:128: // so we can simply return by value (making ...
6 years, 7 months ago (2014-05-16 12:03:25 UTC) #9
Andrew Hayden (chromium.org)
The CQ bit was checked by andrewhayden@chromium.org
6 years, 7 months ago (2014-05-16 12:48:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrewhayden@chromium.org/280753003/110001
6 years, 7 months ago (2014-05-16 12:49:17 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 14:41:08 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 15:37:27 UTC) #13
Message was sent while issue was closed.
Change committed as 271028

Powered by Google App Engine
This is Rietveld 408576698