Chromium Code Reviews| Index: tests/standalone/src/io/HttpTest.dart |
| diff --git a/tests/standalone/src/io/HttpTest.dart b/tests/standalone/src/io/HttpTest.dart |
| index 545b1a0925ad91df2a5a00f9de48f57aceabe332..df198bda53f8ebc1c894bb4840ec403ee8e09904 100644 |
| --- a/tests/standalone/src/io/HttpTest.dart |
| +++ b/tests/standalone/src/io/HttpTest.dart |
| @@ -186,7 +186,7 @@ class TestServer extends Isolate { |
| _server = new HttpServer(); |
| try { |
| _server.listen("127.0.0.1", 0); |
| - _server.onRequest = (HttpRequest req, HttpResponse rsp) { |
| + _server.defaultRequestHandler = (HttpRequest req, HttpResponse rsp) { |
| _requestReceivedHandler(req, rsp); |
| }; |
| replyTo.send(new TestServerStatus.started(_server.port), null); |
| @@ -515,7 +515,7 @@ void testExpires() { |
| void main() { |
| - //testStartStop(); |
|
Mads Ager (google)
2012/04/18 12:22:08
Whoops. Good catch.
|
| + testStartStop(); |
| testGET(); |
| testPOST(true); |
| testPOST(false); |