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

Side by Side Diff: tests/standalone/io/http_parser_test.dart

Issue 12389050: Remane io_stream_consumer.dart to io_sink and move out all implementation from IOSink to _IOSinkImp… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make _DetachedSocket pass dart-analyzer. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:math'; 6 import 'dart:math';
7 import 'dart:scalarlist'; 7 import 'dart:scalarlist';
8 import 'dart:isolate'; 8 import 'dart:isolate';
9 import 'dart:uri'; 9 import 'dart:uri';
10 10
11 part '../../../sdk/lib/io/io_stream_consumer.dart'; 11 part '../../../sdk/lib/io/io_sink.dart';
12 part '../../../sdk/lib/io/http.dart'; 12 part '../../../sdk/lib/io/http.dart';
13 part '../../../sdk/lib/io/http_impl.dart'; 13 part '../../../sdk/lib/io/http_impl.dart';
14 part '../../../sdk/lib/io/http_headers.dart'; 14 part '../../../sdk/lib/io/http_headers.dart';
15 part '../../../sdk/lib/io/http_parser.dart'; 15 part '../../../sdk/lib/io/http_parser.dart';
16 part '../../../sdk/lib/io/socket.dart'; 16 part '../../../sdk/lib/io/socket.dart';
17 17
18 class HttpParserTest { 18 class HttpParserTest {
19 static void runAllTests() { 19 static void runAllTests() {
20 testParseRequest(); 20 testParseRequest();
21 testParseResponse(); 21 testParseResponse();
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 0123456789012345678901234567890\r 874 0123456789012345678901234567890\r
875 0\r\n\r\n"""; 875 0\r\n\r\n""";
876 _testParseInvalidResponse(response); 876 _testParseInvalidResponse(response);
877 } 877 }
878 } 878 }
879 879
880 880
881 void main() { 881 void main() {
882 HttpParserTest.runAllTests(); 882 HttpParserTest.runAllTests();
883 } 883 }
OLDNEW
« no previous file with comments | « tests/standalone/io/http_headers_test.dart ('k') | tests/standalone/io/mime_multipart_parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698