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

Issue 1090003003: Clean up URLFetcher unit tests, part 6. (Closed)

Created:
5 years, 8 months ago by mmenke
Modified:
5 years, 8 months ago
Reviewers:
davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up URLFetcher unit tests, part 6. Convert URLFetcher[Upload/Download]Progress tests to use the shared test fixture. Also add a bonus test where we cancel/delete a fetcher in an upload progress callback. BUG=471069 Committed: https://crrev.com/44bc8c87668304926a28b333af7c398a7cf2735e Cr-Commit-Position: refs/heads/master@{#325565}

Patch Set 1 #

Patch Set 2 : Switch from callbacks to subclasses (More code, less cruft in shared class) #

Total comments: 16

Patch Set 3 : Response to comments #

Patch Set 4 : Update comments #

Total comments: 2

Patch Set 5 : remove comma #

Patch Set 6 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -145 lines) Patch
M net/url_request/url_fetcher_impl_unittest.cc View 1 2 3 4 5 4 chunks +215 lines, -145 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
mmenke
After this, there's a test that reuses the same URLFetcher twice (Ick!), a couple that ...
5 years, 8 months ago (2015-04-16 17:22:04 UTC) #2
davidben
https://codereview.chromium.org/1090003003/diff/20001/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): https://codereview.chromium.org/1090003003/diff/20001/net/url_request/url_fetcher_impl_unittest.cc#newcode107 net/url_request/url_fetcher_impl_unittest.cc:107: EXPECT_FALSE(did_complete_); Optional: I think it might be marginally better ...
5 years, 8 months ago (2015-04-16 20:55:35 UTC) #3
mmenke
Thanks for giving useful feedback for these mind-numbing reviews! Know there can be a tendency ...
5 years, 8 months ago (2015-04-16 21:26:08 UTC) #5
davidben
lgtm https://codereview.chromium.org/1090003003/diff/80001/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): https://codereview.chromium.org/1090003003/diff/80001/net/url_request/url_fetcher_impl_unittest.cc#newcode913 net/url_request/url_fetcher_impl_unittest.cc:913: // notification, otherwise. Nit: I think this comma ...
5 years, 8 months ago (2015-04-16 21:49:54 UTC) #6
mmenke
https://codereview.chromium.org/1090003003/diff/80001/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): https://codereview.chromium.org/1090003003/diff/80001/net/url_request/url_fetcher_impl_unittest.cc#newcode913 net/url_request/url_fetcher_impl_unittest.cc:913: // notification, otherwise. On 2015/04/16 21:49:54, David Benjamin wrote: ...
5 years, 8 months ago (2015-04-16 21:56:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1090003003/120001
5 years, 8 months ago (2015-04-17 00:07:09 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 8 months ago (2015-04-17 00:27:17 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 00:28:21 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/44bc8c87668304926a28b333af7c398a7cf2735e
Cr-Commit-Position: refs/heads/master@{#325565}

Powered by Google App Engine
This is Rietveld 408576698