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

Issue 7129056: Cleanup in base/test. (Closed)

Created:
9 years, 6 months ago by Joao da Silva
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Use gyp files for conditional compilation #

Patch Set 3 : Fixed base.gyp #

Total comments: 17

Patch Set 4 : Reviewed, rebased #

Patch Set 5 : Allow testing if ScopedLocale was applied #

Patch Set 6 : Reviewed, rebased #

Patch Set 7 : Enabled the test on linux #

Patch Set 8 : Removed change to install-build-deps.sh #

Patch Set 9 : Rebased #

Patch Set 10 : Reverted, rebased again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -55 lines) Patch
M base/base.gyp View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M base/sys_string_conversions_unittest.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
A base/test/scoped_locale.h View 1 2 3 5 1 chunk +30 lines, -0 lines 0 comments Download
A base/test/scoped_locale.cc View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
D base/test/test_util.h View 1 chunk +0 lines, -41 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/time_format_browsertest.cc View 1 2 3 5 6 2 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Joao da Silva
@Paweł: This is meant to address your comments on http://codereview.chromium.org/7003028/, which unfortunately I committed before ...
9 years, 6 months ago (2011-06-10 15:53:55 UTC) #1
Paweł Hajdan Jr.
Just minor comments, thanks! http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode7 base/test/scoped_locale.cc:7: #include "base/test/scoped_locale.h" nit: This must ...
9 years, 6 months ago (2011-06-10 17:00:51 UTC) #2
brettw
LGTM
9 years, 6 months ago (2011-06-12 14:07:20 UTC) #3
Joao da Silva
@Paweł: reviewed, please have another look. Thanks! http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode7 base/test/scoped_locale.cc:7: #include "base/test/scoped_locale.h" ...
9 years, 6 months ago (2011-06-14 16:48:44 UTC) #4
Paweł Hajdan Jr.
http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode13 base/test/scoped_locale.cc:13: current_locale_ = setlocale(LC_ALL, locale.c_str()); On 2011/06/14 16:48:44, joaodasilva wrote: ...
9 years, 6 months ago (2011-06-14 20:20:07 UTC) #5
Joao da Silva
Please have a look at the inline comment. http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode13 base/test/scoped_locale.cc:13: current_locale_ ...
9 years, 6 months ago (2011-06-15 10:15:13 UTC) #6
Paweł Hajdan Jr.
http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode13 base/test/scoped_locale.cc:13: current_locale_ = setlocale(LC_ALL, locale.c_str()); On 2011/06/15 10:15:13, joaodasilva wrote: ...
9 years, 6 months ago (2011-06-16 10:33:27 UTC) #7
Joao da Silva
http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode13 base/test/scoped_locale.cc:13: current_locale_ = setlocale(LC_ALL, locale.c_str()); > Feel free to commit ...
9 years, 6 months ago (2011-06-16 11:12:17 UTC) #8
Paweł Hajdan Jr.
http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc File base/test/scoped_locale.cc (right): http://codereview.chromium.org/7129056/diff/3001/base/test/scoped_locale.cc#newcode13 base/test/scoped_locale.cc:13: current_locale_ = setlocale(LC_ALL, locale.c_str()); On 2011/06/16 11:12:18, joaodasilva wrote: ...
9 years, 6 months ago (2011-06-16 11:46:19 UTC) #9
Joao da Silva
Thanks for explaining, I'm now convinced :-) The test has been marked with FAILS_ except ...
9 years, 6 months ago (2011-06-16 15:28:23 UTC) #10
Joao da Silva
The infrastructure team has installed the locale on the bots, so the test can be ...
9 years, 6 months ago (2011-06-17 11:46:00 UTC) #11
Paweł Hajdan Jr.
LGTM
9 years, 6 months ago (2011-06-17 11:58:57 UTC) #12
commit-bot: I haz the power
Change committed as 89664
9 years, 6 months ago (2011-06-20 14:29:14 UTC) #13
commit-bot: I haz the power
9 years, 6 months ago (2011-06-20 17:44:07 UTC) #14
Change committed as 89681

Powered by Google App Engine
This is Rietveld 408576698