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

Issue 12095014: IO v2: Update a number of HTTP tests to pass (Closed)

Created:
7 years, 10 months ago by Søren Gjesse
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

IO v2: Update a number of HTTP tests to pass R=ajohnsen@google.com Committed: https://code.google.com/p/dart/source/detail?r=17748

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -427 lines) Patch
M runtime/bin/socket_patch.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/http.dart View 3 chunks +12 lines, -14 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 2 7 chunks +27 lines, -0 lines 0 comments Download
M tests/standalone/io/http_advanced_test.dart View 13 chunks +193 lines, -245 lines 0 comments Download
M tests/standalone/io/http_connection_info_test.dart View 1 chunk +35 lines, -33 lines 0 comments Download
M tests/standalone/io/http_read_test.dart View 8 chunks +72 lines, -131 lines 0 comments Download
M tests/standalone/standalone.status View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Gjesse
7 years, 10 months ago (2013-01-28 15:32:30 UTC) #1
Søren Gjesse
Adding Mads as reviewer as Anders is OOO today.
7 years, 10 months ago (2013-01-29 08:18:23 UTC) #2
Anders Johnsen
LGTM, very sick to get these working again! :) https://codereview.chromium.org/12095014/diff/2001/sdk/lib/io/http.dart File sdk/lib/io/http.dart (left): https://codereview.chromium.org/12095014/diff/2001/sdk/lib/io/http.dart#oldcode834 sdk/lib/io/http.dart:834: ...
7 years, 10 months ago (2013-01-29 08:25:41 UTC) #3
Søren Gjesse
https://codereview.chromium.org/12095014/diff/2001/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/12095014/diff/2001/sdk/lib/io/http_impl.dart#newcode1426 sdk/lib/io/http_impl.dart:1426: factory _HttpConnectionInfo(Socket socket) { On 2013/01/29 08:25:41, Anders Johnsen ...
7 years, 10 months ago (2013-01-29 08:38:18 UTC) #4
Anders Johnsen
7 years, 10 months ago (2013-01-29 08:40:26 UTC) #5
https://codereview.chromium.org/12095014/diff/2001/tests/standalone/io/http_r...
File tests/standalone/io/http_read_test.dart (left):

https://codereview.chromium.org/12095014/diff/2001/tests/standalone/io/http_r...
tests/standalone/io/http_read_test.dart:212: void testReadShort(bool
chunkedEncoding) {
On 2013/01/29 08:38:18, Søren Gjesse wrote:
> On 2013/01/29 08:25:41, Anders Johnsen wrote:
> > Why is this one removed?
> 
> It was testing "short reads", where InputStream.read was called with a small
> number. With the stream we cannot do that.
> 
> Also the test above was testing InputStream.readInto, which we also don't have
> anymore, so it is just processing the data it is given from the stream.

Ahh, I see. I was thinking about the small reads VM flag. Sounds good to just
remove the test! :)

Powered by Google App Engine
This is Rietveld 408576698