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

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

Issue 284313011: Add IO service object handler, with initial implementation for HTTP server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/io/http_parser_test.dart ('k') | no next file » | 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 library dart.io; 5 library dart.io;
6 6
7 import "package:async_helper/async_helper.dart"; 7 import "package:async_helper/async_helper.dart";
8 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9 import "dart:async"; 9 import "dart:async";
10 import "dart:collection"; 10 import "dart:collection";
(...skipping 15 matching lines...) Expand all
26 part "../../../sdk/lib/io/http.dart"; 26 part "../../../sdk/lib/io/http.dart";
27 part "../../../sdk/lib/io/http_impl.dart"; 27 part "../../../sdk/lib/io/http_impl.dart";
28 part "../../../sdk/lib/io/http_date.dart"; 28 part "../../../sdk/lib/io/http_date.dart";
29 part "../../../sdk/lib/io/http_parser.dart"; 29 part "../../../sdk/lib/io/http_parser.dart";
30 part "../../../sdk/lib/io/http_headers.dart"; 30 part "../../../sdk/lib/io/http_headers.dart";
31 part "../../../sdk/lib/io/http_session.dart"; 31 part "../../../sdk/lib/io/http_session.dart";
32 part "../../../sdk/lib/io/io_service.dart"; 32 part "../../../sdk/lib/io/io_service.dart";
33 part "../../../sdk/lib/io/io_sink.dart"; 33 part "../../../sdk/lib/io/io_sink.dart";
34 part "../../../sdk/lib/io/platform.dart"; 34 part "../../../sdk/lib/io/platform.dart";
35 part "../../../sdk/lib/io/platform_impl.dart"; 35 part "../../../sdk/lib/io/platform_impl.dart";
36 part "../../../sdk/lib/io/service_object.dart";
36 part "../../../sdk/lib/io/secure_socket.dart"; 37 part "../../../sdk/lib/io/secure_socket.dart";
37 part "../../../sdk/lib/io/secure_server_socket.dart"; 38 part "../../../sdk/lib/io/secure_server_socket.dart";
38 part "../../../sdk/lib/io/socket.dart"; 39 part "../../../sdk/lib/io/socket.dart";
39 part "../../../sdk/lib/io/websocket.dart"; 40 part "../../../sdk/lib/io/websocket.dart";
40 part "../../../sdk/lib/io/websocket_impl.dart"; 41 part "../../../sdk/lib/io/websocket_impl.dart";
41 42
42 class WebSocketFrame { 43 class WebSocketFrame {
43 WebSocketFrame(int opcode, List<int> data); 44 WebSocketFrame(int opcode, List<int> data);
44 } 45 }
45 46
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 true, FRAME_OPCODE_BINARY, null, message, 0, message.length); 262 true, FRAME_OPCODE_BINARY, null, message, 0, message.length);
262 controller.add(frame); 263 controller.add(frame);
263 } 264 }
264 265
265 266
266 void main() { 267 void main() {
267 testFullMessages(); 268 testFullMessages();
268 testFragmentedMessages(); 269 testFragmentedMessages();
269 testUnmaskedMessage(); 270 testUnmaskedMessage();
270 } 271 }
OLDNEW
« no previous file with comments | « tests/standalone/io/http_parser_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698