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

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

Issue 10908059: Reenable http client tests and remove test that relies on a specific port on localhost. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « tests/standalone/io/http_client_test.dart ('k') | no next file » | 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 924822dae3e93571c9dd2fd9ac5515a557d15311..d7daa43cb58848f80651f62e3691a8fec3c13277 100644
--- a/tests/standalone/io/socket_exception_test.dart
+++ b/tests/standalone/io/socket_exception_test.dart
@@ -183,26 +183,15 @@ class SocketExceptionTest {
s.onConnect = () => Expect.fail("Connection completed");
}
- static void unresponsiveHostTest() {
- // Port to keep the VM alive until test completes.
- var port = new ReceivePort();
- port.receive((message, replyTo) => null);
-
- Socket s = new Socket("127.0.0.1", 65535);
- s.onError = (e) => port.close();
- s.onConnect = () => Expect.fail("Connection completed");
- }
-
static void testMain() {
serverSocketExceptionTest();
clientSocketExceptionTest();
indexOutOfRangeExceptionTest();
unknownHostTest();
- // TODO(sgjesse): This test seems to fail on the buildbot.
- //unresponsiveHostTest();
}
}
main() {
SocketExceptionTest.testMain();
}
+
« no previous file with comments | « tests/standalone/io/http_client_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698