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

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

Issue 14640008: Change the signature for all network bind calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments by whesse@ Created 7 years, 8 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/raw_socket_test.dart ('k') | tests/standalone/io/regress_8828_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/raw_socket_write_destroy_test.dart
diff --git a/tests/standalone/io/raw_socket_write_destroy_test.dart b/tests/standalone/io/raw_socket_write_destroy_test.dart
index 13ecaf3f5741ab81ebefde3100b344e1ef6c430d..b5eed7c5b4792149ee544104f326db8137205f8c 100644
--- a/tests/standalone/io/raw_socket_write_destroy_test.dart
+++ b/tests/standalone/io/raw_socket_write_destroy_test.dart
@@ -15,7 +15,7 @@ const SERVER_ADDRESS = "127.0.0.1";
void testWriteDestroyServer() {
int WROTE = 100000;
- RawServerSocket.bind(SERVER_ADDRESS).then((server) {
+ RawServerSocket.bind(SERVER_ADDRESS, 0).then((server) {
server.listen((socket) {
socket.writeEventsEnabled = false;
@@ -54,7 +54,7 @@ void testWriteDestroyServer() {
void testWriteDestroyClient() {
int WROTE = 100000;
- RawServerSocket.bind(SERVER_ADDRESS).then((server) {
+ RawServerSocket.bind(SERVER_ADDRESS, 0).then((server) {
server.listen((socket) {
var bytes = 0;
socket.listen((e) {
« no previous file with comments | « tests/standalone/io/raw_socket_test.dart ('k') | tests/standalone/io/regress_8828_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698