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

Issue 197030: Re-enabled URLRequestTestHTTP.BasicAuth.... (Closed)

Created:
11 years, 3 months ago by eroman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), willchan no longer on Chromium, Paweł Hajdan Jr.
Visibility:
Public.

Description

Re-enabled URLRequestTestHTTP.BasicAuth. The problem was the test was expecting |response_time| of cached responses to be the timestamp of the original request, rather than the timestamp of the last cache validation. Also updated the header to clarify what |request_time| and |response_time| correspond to in the cached cases. BUG=http://crbug.com/20594 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25540

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address rvargas comments #

Patch Set 3 : Update the comment in http_response_info.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -28 lines) Patch
M net/http/http_response_info.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/url_request.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 6 chunks +5 lines, -24 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eroman
11 years, 3 months ago (2009-09-04 21:16:47 UTC) #1
rvargas (doing something else)
LGTM, thanks. http://codereview.chromium.org/197030/diff/1/3 File net/url_request/url_request_unittest.cc (right): http://codereview.chromium.org/197030/diff/1/3#newcode1249 Line 1249: EXPECT_FALSE(req.response_time() == response_time); nit: this test ...
11 years, 3 months ago (2009-09-04 21:39:41 UTC) #2
eroman
http://codereview.chromium.org/197030/diff/1/3 File net/url_request/url_request_unittest.cc (right): http://codereview.chromium.org/197030/diff/1/3#newcode1249 Line 1249: EXPECT_FALSE(req.response_time() == response_time); On 2009/09/04 21:39:41, rvargas wrote: ...
11 years, 3 months ago (2009-09-04 21:47:37 UTC) #3
rvargas (doing something else)
11 years, 3 months ago (2009-09-04 21:55:49 UTC) #4
LGTM

http://codereview.chromium.org/197030/diff/1/3
File net/url_request/url_request_unittest.cc (right):

http://codereview.chromium.org/197030/diff/1/3#newcode1249
Line 1249: EXPECT_FALSE(req.response_time() == response_time);
> (Note, that is the only other instance I found in this file, you say there
were
> others?)

no, you're right. Just two tests.

Powered by Google App Engine
This is Rietveld 408576698