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

Issue 2429753003: Mojofy unittests: ServiceWorkerJobTest (Closed)

Created:
4 years, 2 months ago by shimazu
Modified:
4 years, 2 months ago
Reviewers:
horo
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojofy unittests: ServiceWorkerJobTest This patch mojofies ServiceWorkerJobTest by using MojoServiceWorkerTestP, and also this patch fixes error handling in EmbeddedWorkerInstance. BUG=629701 TEST=./out/Debug/content_unittests -f --gtest_filter="ServiceWorkerJobTest/ServiceWorkerJobTestP*" Committed: https://crrev.com/5578ab3ea785cb01e7b5f52b89eabea442af2ddd Cr-Commit-Position: refs/heads/master@{#426172}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated after review comments #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Check if mojo is enabled when creating a mock interface #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -43 lines) Patch
M content/browser/service_worker/embedded_worker_instance.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_instance.cc View 1 2 4 chunks +17 lines, -2 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_job_unittest.cc View 1 2 3 39 chunks +94 lines, -37 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
shimazu
ptal:)
4 years, 2 months ago (2016-10-18 09:46:35 UTC) #2
horo
lgtm with nits https://codereview.chromium.org/2429753003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc File content/browser/service_worker/service_worker_job_unittest.cc (right): https://codereview.chromium.org/2429753003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc#newcode11 content/browser/service_worker/service_worker_job_unittest.cc:11: #include "base/run_loop.h" #include "base/optional.h" https://codereview.chromium.org/2429753003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc#newcode1619 content/browser/service_worker/service_worker_job_unittest.cc:1619: ...
4 years, 2 months ago (2016-10-18 11:03:53 UTC) #3
shimazu
Thanks, updated. https://codereview.chromium.org/2429753003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc File content/browser/service_worker/service_worker_job_unittest.cc (right): https://codereview.chromium.org/2429753003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc#newcode11 content/browser/service_worker/service_worker_job_unittest.cc:11: #include "base/run_loop.h" On 2016/10/18 11:03:53, horo wrote: ...
4 years, 2 months ago (2016-10-18 11:58:07 UTC) #4
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/2429753003/20001
4 years, 2 months ago (2016-10-18 11:58:30 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/318063)
4 years, 2 months ago (2016-10-18 13:05:57 UTC) #9
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/2429753003/20001
4 years, 2 months ago (2016-10-18 15:56:59 UTC) #11
commit-bot: I haz the power
Failed to apply patch for content/browser/service_worker/embedded_worker_instance.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 2 months ago (2016-10-18 16:58:11 UTC) #13
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/2429753003/40001
4 years, 2 months ago (2016-10-19 01:52:44 UTC) #16
horo
https://codereview.chromium.org/2429753003/diff/40001/content/browser/service_worker/service_worker_job_unittest.cc File content/browser/service_worker/service_worker_job_unittest.cc (right): https://codereview.chromium.org/2429753003/diff/40001/content/browser/service_worker/service_worker_job_unittest.cc#newcode1648 content/browser/service_worker/service_worker_job_unittest.cc:1648: std::vector<CheckPauseAfterDownloadEmbeddedWorkerInstanceClient*> clients = { Sorry for the late comment. ...
4 years, 2 months ago (2016-10-19 04:39:01 UTC) #18
shimazu
Thanks, updated. ptal again:) https://codereview.chromium.org/2429753003/diff/40001/content/browser/service_worker/service_worker_job_unittest.cc File content/browser/service_worker/service_worker_job_unittest.cc (right): https://codereview.chromium.org/2429753003/diff/40001/content/browser/service_worker/service_worker_job_unittest.cc#newcode1648 content/browser/service_worker/service_worker_job_unittest.cc:1648: std::vector<CheckPauseAfterDownloadEmbeddedWorkerInstanceClient*> clients = { On ...
4 years, 2 months ago (2016-10-19 05:32:54 UTC) #19
horo
lgtm Thank you.
4 years, 2 months ago (2016-10-19 06:19:30 UTC) #20
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/2429753003/60001
4 years, 2 months ago (2016-10-19 09:31:15 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/163830)
4 years, 2 months ago (2016-10-19 11:44:00 UTC) #24
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/2429753003/60001
4 years, 2 months ago (2016-10-19 12:48:26 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-19 13:35:43 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:07:46 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5578ab3ea785cb01e7b5f52b89eabea442af2ddd
Cr-Commit-Position: refs/heads/master@{#426172}

Powered by Google App Engine
This is Rietveld 408576698