| OLD | NEW |
| 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 "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:math'; | 7 import 'dart:math'; |
| 8 import 'dart:typed_data'; | 8 import 'dart:typed_data'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:uri'; | |
| 11 | 10 |
| 12 part '../../../sdk/lib/io/io_sink.dart'; | 11 part '../../../sdk/lib/io/io_sink.dart'; |
| 13 part '../../../sdk/lib/io/http.dart'; | 12 part '../../../sdk/lib/io/http.dart'; |
| 14 part '../../../sdk/lib/io/http_impl.dart'; | 13 part '../../../sdk/lib/io/http_impl.dart'; |
| 15 part '../../../sdk/lib/io/http_headers.dart'; | 14 part '../../../sdk/lib/io/http_headers.dart'; |
| 16 part '../../../sdk/lib/io/http_parser.dart'; | 15 part '../../../sdk/lib/io/http_parser.dart'; |
| 17 part '../../../sdk/lib/io/socket.dart'; | 16 part '../../../sdk/lib/io/socket.dart'; |
| 18 | 17 |
| 19 class HttpParserTest { | 18 class HttpParserTest { |
| 20 static void runAllTests() { | 19 static void runAllTests() { |
| (...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 0123456789012345678901234567890\r | 864 0123456789012345678901234567890\r |
| 866 0\r\n\r\n"""; | 865 0\r\n\r\n"""; |
| 867 _testParseInvalidResponse(response); | 866 _testParseInvalidResponse(response); |
| 868 } | 867 } |
| 869 } | 868 } |
| 870 | 869 |
| 871 | 870 |
| 872 void main() { | 871 void main() { |
| 873 HttpParserTest.runAllTests(); | 872 HttpParserTest.runAllTests(); |
| 874 } | 873 } |
| OLD | NEW |