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

Side by Side Diff: samples/tests/samples/src/chat/HttpTest.dart

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review changes Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library("http_test.dart"); 5 #library("http_test.dart");
6 #import("dart:isolate");
6 #import("../../../../chat/http.dart"); 7 #import("../../../../chat/http.dart");
7 #import("../../../../../lib/json/json.dart"); 8 #import("../../../../../lib/json/json.dart");
8 #import("../../../../chat/chat_server_lib.dart"); 9 #import("../../../../chat/chat_server_lib.dart");
9 10
10 11
11 class TestServerMain { 12 class TestServerMain {
12 TestServerMain() 13 TestServerMain()
13 : _statusPort = new ReceivePort(), 14 : _statusPort = new ReceivePort(),
14 _serverPort = null { 15 _serverPort = null {
15 new TestServer().spawn().then((SendPort port) { 16 new TestServer().spawn().then((SendPort port) {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 272 }
272 273
273 274
274 void main() { 275 void main() {
275 testStartStop(); 276 testStartStop();
276 testGET(); 277 testGET();
277 testPOST(true); 278 testPOST(true);
278 testPOST(false); 279 testPOST(false);
279 test404(); 280 test404();
280 } 281 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698