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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
OLDNEW
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 "dart:io"; 6 import "dart:io";
6 import "dart:isolate"; 7 import "dart:isolate";
7 import "dart:math"; 8 import "dart:math";
8 9
9 class ExpectedDataOutputStream implements OutputStream { 10 class ExpectedDataOutputStream implements OutputStream {
10 ExpectedDataOutputStream(List<int> this._data, 11 ExpectedDataOutputStream(List<int> this._data,
11 int this._cutoff, 12 int this._cutoff,
12 bool this._closeAsError, 13 bool this._closeAsError,
13 SocketMock this._socket); 14 SocketMock this._socket);
14 15
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 "GET / HTTP/1.1\r\nKeep-Alive: False\r\n\r\n", 229 "GET / HTTP/1.1\r\nKeep-Alive: False\r\n\r\n",
229 "HTTP/1.1 200 OK\r\ntransfer-encoding: chunked\r\nconnection: close" 230 "HTTP/1.1 200 OK\r\ntransfer-encoding: chunked\r\nconnection: close"
230 "\r\n\r\n0\r\n\r\n"); 231 "\r\n\r\n0\r\n\r\n");
231 232
232 server.close(); 233 server.close();
233 } 234 }
234 235
235 void main() { 236 void main() {
236 testSocketClose(); 237 testSocketClose();
237 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698