Chromium Code Reviews

Issue 1445163002: Enabling Base Unit Tests (Closed)

Created:
5 years, 1 month ago by Sean Klein
Modified:
5 years, 1 month ago
Reviewers:
viettrungluu
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Enabling Base Unit Tests. Updates mojo's Base enough to pass unit tests. Updating Mojo's version of Base to be entirely consistent with Chromium would be a significant ordeal, so this CL attempts to add passing Base unit tests with as few changes to Base as possible. Pulls in the following from Chromium: 3be75bf76ac061129ec2a9e887d5d50cfd016a56 Updates: base/i18n/rtl_unittest.cc (Additional changes made manually to pass tests -- removed Windows-specific code). base/test/icu_test_util.cc base/test/icu_test_util.h e89963accb5f3a9d93b8007b22fc79c0120eb794 Updates: base/files/file_path_unittest.cc R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/7a690c5c0344946ed74402d61d473502bc03ad77

Patch Set 1 #

Patch Set 2 : Made changes to pass tests #

Total comments: 2

Patch Set 3 : Updated unittest location #

Unified diffs Side-by-side diffs Stats (+68 lines, -25 lines)
M BUILD.gn View 1 chunk +1 line, -0 lines 0 comments
M base/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments
M base/files/file_path_unittest.cc View 2 chunks +8 lines, -0 lines 0 comments
M base/i18n/rtl_unittest.cc View 6 chunks +4 lines, -25 lines 0 comments
A base/test/icu_test_util.h View 1 chunk +29 lines, -0 lines 0 comments
A base/test/icu_test_util.cc View 1 chunk +21 lines, -0 lines 0 comments
M mojo/tools/data/unittests View 1 chunk +3 lines, -0 lines 0 comments

Dependent Patchsets:

Messages

Total messages: 8 (2 generated)
Sean Klein
5 years, 1 month ago (2015-11-16 19:32:24 UTC) #2
viettrungluu
Please update your CL description to indicate where you got base/test/icu_test_util.h, etc. from (namely, the ...
5 years, 1 month ago (2015-11-16 19:51:03 UTC) #3
Sean Klein
https://codereview.chromium.org/1445163002/diff/20001/mojo/tools/get_test_list.py File mojo/tools/get_test_list.py (right): https://codereview.chromium.org/1445163002/diff/20001/mojo/tools/get_test_list.py#newcode85 mojo/tools/get_test_list.py:85: [os.path.join(build_dir, "base_unittests")] + verbose_flags) On 2015/11/16 19:51:03, viettrungluu wrote: ...
5 years, 1 month ago (2015-11-16 21:38:57 UTC) #5
viettrungluu
lgtm
5 years, 1 month ago (2015-11-17 22:27:32 UTC) #6
Sean Klein
Committed patchset #3 (id:40001) manually as 7a690c5c0344946ed74402d61d473502bc03ad77 (presubmit successful).
5 years, 1 month ago (2015-11-17 22:34:31 UTC) #7
Sean Klein
5 years, 1 month ago (2015-11-18 16:54:14 UTC) #8
Message was sent while issue was closed.
On 2015/11/17 22:34:31, smklein1 wrote:
> Committed patchset #3 (id:40001) manually as
> 7a690c5c0344946ed74402d61d473502bc03ad77 (presubmit successful).

This is causing an issue on the Debug Asan bots. Fix here:
https://codereview.chromium.org/1452063005/

Powered by Google App Engine