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

Issue 1552983003: Fix a bunch of mojo_public_*_unittests with the new EDK. (Closed)

Created:
4 years, 11 months ago by jam
Modified:
4 years, 11 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bunch of mojo_public_*_unittests with the new EDK. The unittests had baked in assumptions about implementation timings of the EDK. This makes the following tests pass: mojo_public_bindings_unittests, mojo_public_environment_unittests, mojo_public_system_unittests and mojo_public_utility_unittests. BUG=561803 Committed: https://crrev.com/0413ae3065a484364fbb8fb1b96f98e4bcc0a7c4 Cr-Commit-Position: refs/heads/master@{#367421}

Patch Set 1 #

Total comments: 8

Patch Set 2 : better fix for logging error #

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+734 lines, -273 lines) Patch
M mojo/fetcher/data_fetcher_unittest.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/message_pump/message_pump_mojo_unittest.cc View 1 2 7 chunks +49 lines, -10 lines 0 comments Download
M mojo/public/c/system/tests/core_unittest.cc View 2 chunks +6 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/validation_errors.h View 1 2 chunks +7 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_errors.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/associated_interface_unittest.cc View 2 chunks +36 lines, -14 lines 0 comments Download
M mojo/public/cpp/bindings/tests/binding_callback_unittest.cc View 13 chunks +63 lines, -19 lines 0 comments Download
M mojo/public/cpp/bindings/tests/binding_unittest.cc View 15 chunks +85 lines, -27 lines 0 comments Download
M mojo/public/cpp/bindings/tests/connector_unittest.cc View 15 chunks +53 lines, -22 lines 0 comments Download
M mojo/public/cpp/bindings/tests/handle_passing_unittest.cc View 10 chunks +58 lines, -21 lines 0 comments Download
M mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc View 26 chunks +139 lines, -71 lines 0 comments Download
M mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc View 12 chunks +51 lines, -22 lines 0 comments Download
M mojo/public/cpp/bindings/tests/request_response_unittest.cc View 1 2 6 chunks +37 lines, -14 lines 0 comments Download
M mojo/public/cpp/bindings/tests/router_test_util.h View 5 chunks +10 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/router_test_util.cc View 3 chunks +15 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/tests/router_unittest.cc View 11 chunks +53 lines, -23 lines 0 comments Download
M mojo/public/cpp/bindings/tests/union_unittest.cc View 4 chunks +16 lines, -8 lines 0 comments Download
M mojo/public/cpp/bindings/tests/validation_unittest.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M mojo/public/cpp/environment/logging.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/cpp/system/tests/core_unittest.cc View 2 chunks +12 lines, -4 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/shell/data_pipe_peek_unittest.cc View 3 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
jam
4 years, 11 months ago (2016-01-04 15:15:04 UTC) #3
yzshen1
https://codereview.chromium.org/1552983003/diff/60001/mojo/message_pump/message_pump_mojo_unittest.cc File mojo/message_pump/message_pump_mojo_unittest.cc (right): https://codereview.chromium.org/1552983003/diff/60001/mojo/message_pump/message_pump_mojo_unittest.cc#newcode77 mojo/message_pump/message_pump_mojo_unittest.cc:77: run_loop.RunUntilIdle(); Even when we wait till the handle is ...
4 years, 11 months ago (2016-01-04 18:54:26 UTC) #7
jam
https://codereview.chromium.org/1552983003/diff/60001/mojo/message_pump/message_pump_mojo_unittest.cc File mojo/message_pump/message_pump_mojo_unittest.cc (right): https://codereview.chromium.org/1552983003/diff/60001/mojo/message_pump/message_pump_mojo_unittest.cc#newcode77 mojo/message_pump/message_pump_mojo_unittest.cc:77: run_loop.RunUntilIdle(); On 2016/01/04 18:54:25, yzshen1 wrote: > Even when ...
4 years, 11 months ago (2016-01-04 21:00:06 UTC) #8
yzshen1
lgtm
4 years, 11 months ago (2016-01-04 21:07:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1552983003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1552983003/100001
4 years, 11 months ago (2016-01-04 21:47:24 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 11 months ago (2016-01-05 00:06:18 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-05 00:11:15 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0413ae3065a484364fbb8fb1b96f98e4bcc0a7c4
Cr-Commit-Position: refs/heads/master@{#367421}

Powered by Google App Engine
This is Rietveld 408576698