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

Side by Side Diff: tests/standalone/io/web_socket_protocol_processor_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:math"; 6 import "dart:math";
6 7
7 part "../../../sdk/lib/io/websocket.dart"; 8 part "../../../sdk/lib/io/websocket.dart";
8 part "../../../sdk/lib/io/websocket_impl.dart"; 9 part "../../../sdk/lib/io/websocket_impl.dart";
9 10
10 class WebSocketFrame { 11 class WebSocketFrame {
11 WebSocketFrame(int opcode, List<int> data); 12 WebSocketFrame(int opcode, List<int> data);
12 } 13 }
13 14
14 // Class that when hooked up to the web socket protocol processor will 15 // Class that when hooked up to the web socket protocol processor will
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 runTest(65534, 65537, 1); 214 runTest(65534, 65537, 1);
214 print("Fragment messages test, messages $messageCount, frames $frameCount"); 215 print("Fragment messages test, messages $messageCount, frames $frameCount");
215 Expect.equals(messageCount, mc.messageCount); 216 Expect.equals(messageCount, mc.messageCount);
216 Expect.equals(0, mc.closeCount); 217 Expect.equals(0, mc.closeCount);
217 } 218 }
218 219
219 void main() { 220 void main() {
220 testFullMessages(); 221 testFullMessages();
221 testFragmentedMessages(); 222 testFragmentedMessages();
222 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698