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

Issue 2793613004: Add test for TimeDurationFormat() error. (Closed)

Created:
3 years, 8 months ago by Daniel Erat
Modified:
3 years, 8 months ago
Reviewers:
jungshik at Google
CC:
chromium-reviews, danakj+watch_chromium.org, jshin+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add test for TimeDurationFormat() error. base::TimeDurationFormat() fails due to a U_RESOURCE_TYPE_MISMATCH error from ICU when called with certain locals like en_GB due to missing resource data. Add a test (disabled for now) to verify that it works for all supported locales. BUG=677043, 707515 Review-Url: https://codereview.chromium.org/2793613004 Cr-Commit-Position: refs/heads/master@{#463796} Committed: https://chromium.googlesource.com/chromium/src/+/a8550bc1391772685da6e86adc72a587bd964289

Patch Set 1 #

Patch Set 2 : iterate over all supported locales #

Patch Set 3 : disable test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M ui/base/l10n/l10n_util_unittest.cc View 1 2 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
jungshik at Google
https://codereview.chromium.org/2812943003/ is an ICU fix. Dan, would you land this test *disabled*? When I roll ...
3 years, 8 months ago (2017-04-11 20:08:42 UTC) #8
Daniel Erat
sure, disabled the test
3 years, 8 months ago (2017-04-11 21:12:57 UTC) #10
jungshik at Google
Thanks, LGTM
3 years, 8 months ago (2017-04-11 22:00:15 UTC) #16
Daniel Erat
should i go ahead and submit this? mind reviewing?
3 years, 8 months ago (2017-04-11 22:00:29 UTC) #17
Daniel Erat
ah, you just did. thanks! :-)
3 years, 8 months ago (2017-04-11 22:00:41 UTC) #18
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/2793613004/40001
3 years, 8 months ago (2017-04-11 22:00:47 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 22:12:31 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a8550bc1391772685da6e86adc72...

Powered by Google App Engine
This is Rietveld 408576698