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

Unified Diff: tests/standalone/io/socket_exception_test.dart

Issue 24680005: Fix socket_exception_test, that had an asyncStart() too late. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add status file change. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/socket_exception_test.dart
diff --git a/tests/standalone/io/socket_exception_test.dart b/tests/standalone/io/socket_exception_test.dart
index 2966e851610b0abffe4e4b172cda65af1889705c..6381558f72a01ddcb5df0e0a2e6c541d670bf636 100644
--- a/tests/standalone/io/socket_exception_test.dart
+++ b/tests/standalone/io/socket_exception_test.dart
@@ -154,6 +154,7 @@ class SocketExceptionTest {
}
static void clientSocketAddCloseErrorTest() {
+ asyncStart();
ServerSocket.bind("127.0.0.1", 0).then((server) {
var completer = new Completer();
server.listen((socket) {
@@ -179,7 +180,6 @@ class SocketExceptionTest {
client.add(new List.filled(SIZE, 0));
// Destroy other socket now.
completer.complete(null);
- asyncStart();
client.done.then(
(_) {
Expect.fail("Expected error");
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698