| 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("dart:io"); | 5 #import("dart:io"); |
| 6 | 6 |
| 7 class HttpParserTest { | 7 class HttpParserTest { |
| 8 static void runAllTests() { | 8 static void runAllTests() { |
| 9 testParseRequest(); | 9 testParseRequest(); |
| 10 testParseResponse(); | 10 testParseResponse(); |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 0123456789012345678901234567890\r | 352 0123456789012345678901234567890\r |
| 353 0\r\n\r\n"""; | 353 0\r\n\r\n"""; |
| 354 _testParseResponse(response, 200, "OK", -1, 57, null, true); | 354 _testParseResponse(response, 200, "OK", -1, 57, null, true); |
| 355 } | 355 } |
| 356 } | 356 } |
| 357 | 357 |
| 358 | 358 |
| 359 void main() { | 359 void main() { |
| 360 HttpParserTest.runAllTests(); | 360 HttpParserTest.runAllTests(); |
| 361 } | 361 } |
| OLD | NEW |