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

Unified Diff: tests/standalone/src/io/HttpTest.dart

Issue 10119005: Add HTTP handler registration to the HTTP server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revert test edit Created 8 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/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);
« tests/standalone/src/io/HttpServerTest.dart ('K') | « tests/standalone/src/io/HttpShutdownTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698