| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 'dart:async'; | 6 import 'dart:async'; |
| 6 import 'dart:math'; | 7 import 'dart:math'; |
| 7 import 'dart:scalarlist'; | 8 import 'dart:scalarlist'; |
| 8 | 9 |
| 9 part '../../../sdk/lib/io/http.dart'; | 10 part '../../../sdk/lib/io/http.dart'; |
| 10 part '../../../sdk/lib/io/http_headers.dart'; | 11 part '../../../sdk/lib/io/http_headers.dart'; |
| 11 part '../../../sdk/lib/io/http_parser.dart'; | 12 part '../../../sdk/lib/io/http_parser.dart'; |
| 12 | 13 |
| 13 class HttpParserTest { | 14 class HttpParserTest { |
| 14 static void runAllTests() { | 15 static void runAllTests() { |
| (...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 0123456789012345678901234567890\r | 859 0123456789012345678901234567890\r |
| 859 0\r\n\r\n"""; | 860 0\r\n\r\n"""; |
| 860 _testParseInvalidResponse(response); | 861 _testParseInvalidResponse(response); |
| 861 } | 862 } |
| 862 } | 863 } |
| 863 | 864 |
| 864 | 865 |
| 865 void main() { | 866 void main() { |
| 866 HttpParserTest.runAllTests(); | 867 HttpParserTest.runAllTests(); |
| 867 } | 868 } |
| OLD | NEW |