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

Unified Diff: tests/standalone/io/http_compression_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: Updated comments with IPv6 info 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
Index: tests/standalone/io/http_compression_test.dart
diff --git a/tests/standalone/io/http_compression_test.dart b/tests/standalone/io/http_compression_test.dart
index 47c2906eca3d7295cd9c285ee2a1685f59116369..b5addc7bcadd590e5d0170565e74b53f4253f955 100644
--- a/tests/standalone/io/http_compression_test.dart
+++ b/tests/standalone/io/http_compression_test.dart
@@ -13,7 +13,7 @@ import 'dart:typed_data';
void testServerCompress() {
void test(List<int> data) {
- HttpServer.bind().then((server) {
+ HttpServer.bind("127.0.0.1", 0).then((server) {
Bill Hesse 2013/05/01 08:57:06 I guess it wouldn't be worth it to change all of t
Søren Gjesse 2013/05/01 09:06:42 Yes.
server.listen((request) {
request.response.add(data);
request.response.close();
@@ -49,7 +49,7 @@ void testServerCompress() {
void testAcceptEncodingHeader() {
void test(String encoding, bool valid) {
- HttpServer.bind().then((server) {
+ HttpServer.bind("127.0.0.1", 0).then((server) {
server.listen((request) {
request.response.write("data");
request.response.close();

Powered by Google App Engine
This is Rietveld 408576698