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

Issue 2552463002: Add more ResourceLoaderTests (Closed)

Created:
4 years ago by mmenke
Modified:
4 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, Randy Smith (Not in Mondays), darin-cc_chromium.org, loading-reviews_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add more ResourceLoaderTests. In particular, check the cases of async URLRequest::Read successes. Also add ResourceHandler re-entrancy checks to TestResourceHandler, which the current API is designed to avoid. Committed: https://crrev.com/c8b5fe12fde4ec5eff2082b32711d39db8d90635 Cr-Commit-Position: refs/heads/master@{#437586}

Patch Set 1 #

Patch Set 2 : More ResourceLoader tests #

Patch Set 3 : More tests, another fix #

Patch Set 4 : Merge #

Patch Set 5 : merge #

Patch Set 6 : merge #

Patch Set 7 : Merge fix #

Patch Set 8 : Merge #

Total comments: 12

Patch Set 9 : Response to comments #

Patch Set 10 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -40 lines) Patch
M content/browser/loader/resource_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 7 chunks +181 lines, -5 lines 0 comments Download
M content/browser/loader/test_resource_handler.h View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -3 lines 0 comments Download
M content/browser/loader/test_resource_handler.cc View 1 2 3 4 5 6 7 8 9 chunks +36 lines, -2 lines 0 comments Download
M net/url_request/url_request_test_job.h View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -1 line 0 comments Download
M net/url_request/url_request_test_job.cc View 1 2 3 4 5 6 7 8 7 chunks +46 lines, -29 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (25 generated)
mmenke
I could combine this with the others, but hope that keeping it isolated will make ...
4 years ago (2016-12-05 20:03:27 UTC) #9
Randy Smith (Not in Mondays)
LGTM; happy to leave all the below to your discretion. I'm beginning to feel like ...
4 years ago (2016-12-08 22:15:09 UTC) #18
mmenke
Thanks for the feedback! https://codereview.chromium.org/2552463002/diff/140001/content/browser/loader/resource_loader_unittest.cc File content/browser/loader/resource_loader_unittest.cc (right): https://codereview.chromium.org/2552463002/diff/140001/content/browser/loader/resource_loader_unittest.cc#newcode532 content/browser/loader/resource_loader_unittest.cc:532: // Shouldn't be in a ...
4 years ago (2016-12-08 22:46:37 UTC) #19
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/2552463002/180001
4 years ago (2016-12-09 16:17:26 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years ago (2016-12-09 18:12:39 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-12 14:36:13 UTC) #31
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c8b5fe12fde4ec5eff2082b32711d39db8d90635
Cr-Commit-Position: refs/heads/master@{#437586}

Powered by Google App Engine
This is Rietveld 408576698