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

Issue 2722413002: TranslatePrefTest: Added test case for UpdateLanguageList. (Closed)

Created:
3 years, 9 months ago by Matt Giuca
Modified:
3 years, 8 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

TranslatePrefTest: Added test case for UpdateLanguageList. I am looking at refactoring some code used by UpdateLanguageList and I found that it had no test case. Review-Url: https://codereview.chromium.org/2722413002 Cr-Commit-Position: refs/heads/master@{#462757} Committed: https://chromium.googlesource.com/chromium/src/+/a16b847b4a744c81aff3d3ffc337da226aafa7c8

Patch Set 1 #

Total comments: 5

Patch Set 2 : Don't repeat OS_CHROMEOS check in a lot of places. #

Patch Set 3 : Revert previous change: compile error because run-time check is always true. #

Messages

Total messages: 30 (20 generated)
Matt Giuca
3 years, 9 months ago (2017-03-02 03:33:06 UTC) #2
groby-ooo-7-16
Thank you for adding tests! https://codereview.chromium.org/2722413002/diff/1/components/translate/core/browser/translate_prefs_unittest.cc File components/translate/core/browser/translate_prefs_unittest.cc (right): https://codereview.chromium.org/2722413002/diff/1/components/translate/core/browser/translate_prefs_unittest.cc#newcode26 components/translate/core/browser/translate_prefs_unittest.cc:26: #if defined(OS_CHROMEOS) If you're ...
3 years, 9 months ago (2017-03-08 00:49:15 UTC) #7
Matt Giuca
https://codereview.chromium.org/2722413002/diff/1/components/translate/core/browser/translate_prefs_unittest.cc File components/translate/core/browser/translate_prefs_unittest.cc (right): https://codereview.chromium.org/2722413002/diff/1/components/translate/core/browser/translate_prefs_unittest.cc#newcode26 components/translate/core/browser/translate_prefs_unittest.cc:26: #if defined(OS_CHROMEOS) On 2017/03/08 00:49:15, groby wrote: > If ...
3 years, 9 months ago (2017-03-15 02:45:18 UTC) #9
Matt Giuca
https://codereview.chromium.org/2722413002/diff/1/components/translate/core/browser/translate_prefs_unittest.cc File components/translate/core/browser/translate_prefs_unittest.cc (right): https://codereview.chromium.org/2722413002/diff/1/components/translate/core/browser/translate_prefs_unittest.cc#newcode51 components/translate/core/browser/translate_prefs_unittest.cc:51: prefs_->registry()->RegisterStringPref(kPreferredLanguagesPref, On 2017/03/15 02:45:18, Matt Giuca wrote: > On ...
3 years, 9 months ago (2017-03-15 07:45:14 UTC) #14
Matt Giuca
groby: Friendly ping?
3 years, 9 months ago (2017-03-27 02:43:56 UTC) #19
groby-ooo-7-16
Thank you for adding a test - LGTM
3 years, 8 months ago (2017-04-05 21:33:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2722413002/60001
3 years, 8 months ago (2017-04-06 00:17:15 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/423257)
3 years, 8 months ago (2017-04-06 00:21:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2722413002/60001
3 years, 8 months ago (2017-04-07 03:26:39 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 05:04:21 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a16b847b4a744c81aff3d3ffc337...

Powered by Google App Engine
This is Rietveld 408576698