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

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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib Created 8 years, 3 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
« no previous file with comments | « tests/standalone/byte_array_test.dart ('k') | tests/standalone/io/web_socket_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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:math'); 5 #import('dart:math');
6 #import('dart:scalarlist');
6 7
7 #source("../../../runtime/bin/http_parser.dart"); 8 #source("../../../runtime/bin/http_parser.dart");
8 9
9 class HttpParserTest { 10 class HttpParserTest {
10 static void runAllTests() { 11 static void runAllTests() {
11 testParseRequest(); 12 testParseRequest();
12 testParseResponse(); 13 testParseResponse();
13 testParseInvalidRequest(); 14 testParseInvalidRequest();
14 testParseInvalidResponse(); 15 testParseInvalidResponse();
15 } 16 }
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 0123456789012345678901234567890\r 837 0123456789012345678901234567890\r
837 0\r\n\r\n"""; 838 0\r\n\r\n""";
838 _testParseInvalidResponse(response); 839 _testParseInvalidResponse(response);
839 } 840 }
840 } 841 }
841 842
842 843
843 void main() { 844 void main() {
844 HttpParserTest.runAllTests(); 845 HttpParserTest.runAllTests();
845 } 846 }
OLDNEW
« no previous file with comments | « tests/standalone/byte_array_test.dart ('k') | tests/standalone/io/web_socket_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698