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

Side by Side Diff: tests/standalone/io/socket_exception_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) 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 // Tests socket exceptions. 5 // Tests socket exceptions.
6 6
7 import "package:expect/expect.dart";
7 import "dart:isolate"; 8 import "dart:isolate";
8 import "dart:io"; 9 import "dart:io";
9 10
10 class SocketExceptionTest { 11 class SocketExceptionTest {
11 12
12 static const PORT = 0; 13 static const PORT = 0;
13 static const HOST = "127.0.0.1"; 14 static const HOST = "127.0.0.1";
14 15
15 static void serverSocketExceptionTest() { 16 static void serverSocketExceptionTest() {
16 bool exceptionCaught = false; 17 bool exceptionCaught = false;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 clientSocketExceptionTest(); 193 clientSocketExceptionTest();
193 indexOutOfRangeExceptionTest(); 194 indexOutOfRangeExceptionTest();
194 unknownHostTest(); 195 unknownHostTest();
195 } 196 }
196 } 197 }
197 198
198 main() { 199 main() {
199 SocketExceptionTest.testMain(); 200 SocketExceptionTest.testMain();
200 } 201 }
201 202
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698