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

Issue 11002: Make unit_tests pass with pt_BR.UTF-8 locale. (Closed)

Created:
12 years, 1 month ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make unit_tests pass with pt_BR.UTF-8 locale. BUG=3675 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>; original issue: http://codereview.chromium.org/9509

Patch Set 1 #

Patch Set 2 : fix linux build #

Patch Set 3 : namespace, fix nits #

Patch Set 4 : mac project files #

Patch Set 5 : all platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5522 lines, -55 lines) Patch
M base/base.sln View 4 chunks +56 lines, -5 lines 0 comments Download
base/base.xcodeproj/project.pbxproj View 4 10 chunks +43 lines, -0 lines 0 comments Download
M base/base_unittests.scons View 1 chunk +1 line, -0 lines 0 comments Download
M base/json_reader.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M base/json_writer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/string_util.h View 1 2 4 chunks +21 lines, -0 lines 0 comments Download
M base/string_util.cc View 1 2 15 chunks +105 lines, -38 lines 0 comments Download
M build/SConscript.main View 2 chunks +2 lines, -0 lines 0 comments Download
M build/all.xcodeproj/project.pbxproj View 6 chunks +28 lines, -0 lines 0 comments Download
M build/googleurl.xcodeproj/project.pbxproj View 10 chunks +43 lines, -0 lines 0 comments Download
M build/googleurl_unittests.scons View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome.sln View 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/chrome.xcodeproj/project.pbxproj View 4 10 chunks +43 lines, -0 lines 0 comments Download
M chrome/chrome_kjs.sln View 38 chunks +602 lines, -0 lines 0 comments Download
M chrome/test/unit/unit_tests.scons View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/tools/test/image_diff/SConscript View 1 chunk +1 line, -0 lines 0 comments Download
M net/net.sln View 8 chunks +84 lines, -0 lines 0 comments Download
M net/net.xcodeproj/project.pbxproj View 10 chunks +43 lines, -0 lines 0 comments Download
M net/net_perftests.scons View 1 chunk +1 line, -0 lines 0 comments Download
M net/net_unittests.scons View 1 chunk +3 lines, -6 lines 0 comments Download
M sandbox/sandbox.sln View 7 chunks +77 lines, -3 lines 0 comments Download
A third_party/dmg_fp/README.google View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/dmg_fp/dmg_fp.h View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/dmg_fp/dmg_fp.scons View 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/dmg_fp/dmg_fp.vcproj View 1 chunk +139 lines, -0 lines 0 comments Download
A third_party/dmg_fp/dmg_fp.vsprops View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/dmg_fp/dmg_fp.xcodeproj/project.pbxproj View 1 chunk +204 lines, -0 lines 0 comments Download
A third_party/dmg_fp/dtoa.cc View 1 chunk +3354 lines, -0 lines 0 comments Download
A third_party/dmg_fp/g_fmt.cc View 1 chunk +100 lines, -0 lines 0 comments Download
A third_party/dmg_fp/using_dmg_fp.scons View 1 chunk +11 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/SConscript View 1 2 chunks +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/mac/TestShell.xcodeproj/project.pbxproj View 10 chunks +43 lines, -0 lines 0 comments Download
M webkit/webkit.sln View 9 chunks +204 lines, -0 lines 0 comments Download
M webkit/webkit_kjs.sln View 11 chunks +196 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tony
Hi Mark and Amanda, This is a patch from Paweł that add's David M Gay's ...
12 years, 1 month ago (2008-11-12 02:06:53 UTC) #1
please use my chromium address
I saw two minor issue after removing "= true" and "= false" from enum LocaleDependence ...
12 years, 1 month ago (2008-11-12 10:16:17 UTC) #2
tony
I fixed these and added the functions and enums to the base namespace. I'm looking ...
12 years, 1 month ago (2008-11-12 18:17:30 UTC) #3
tony
12 years, 1 month ago (2008-11-12 20:08:44 UTC) #4
Now with mac build updates.  I'll send it to the try bots and commit if ok.

On 2008/11/12 18:17:30, tony wrote:
> I fixed these and added the functions and enums to the base namespace.
> 
> I'm looking into the mac changes now...
> 
> On 2008/11/12 10:16:17, phajdan.jr wrote:
> > I saw two minor issue after removing "= true" and "= false" from enum
> > LocaleDependence definition. Please check.
> > 
> > http://codereview.chromium.org/11002/diff/201/52
> > File base/string_util.cc (right):
> > 
> > http://codereview.chromium.org/11002/diff/201/52#newcode1014
> > Line 1014: if (locale_dependent) {
> > I would suggest making this an explicit check (locale_dependent ==
> > LOCALE_DEPENDENT). "= true" and "= false" have been removed from definition
of
> > LocaleDependence.
> > 
> > http://codereview.chromium.org/11002/diff/201/53
> > File base/string_util.h (right):
> > 
> > http://codereview.chromium.org/11002/diff/201/53#newcode130
> > Line 130: // When some function takes an optional parameter to control
locale
> > This comment may no longer be as relevant as it was before. Please review
it.
> > 
> > - in some functions this parameter is required (so maybe "takes a
parameter")
> > - but as they are not booleans now, the enum values probably have to be used
> > anyway, so this comment wouldn't make sense

Powered by Google App Engine
This is Rietveld 408576698