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

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

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/fuzz_support.dart ('k') | tests/standalone/io/http_auth_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_advanced_test.dart
diff --git a/tests/standalone/io/http_advanced_test.dart b/tests/standalone/io/http_advanced_test.dart
index c08916b37444b595899b23bde4d6f232961338ce..cb8245ff62ac8cb33032e51dbb8f6fe4a836d014 100644
--- a/tests/standalone/io/http_advanced_test.dart
+++ b/tests/standalone/io/http_advanced_test.dart
@@ -7,8 +7,9 @@
// VMOptions=--short_socket_write
// VMOptions=--short_socket_read --short_socket_write
-import "dart:isolate";
-import "dart:io";
+import 'dart:async';
+import 'dart:io';
+import 'dart:isolate';
class TestServerMain {
TestServerMain()
@@ -465,13 +466,13 @@ Future testFlush() {
void main() {
print('testHost()');
- testHost().chain((_) {
+ testHost().then((_) {
print('testExpires()');
- return testExpires().chain((_) {
+ return testExpires().then((_) {
print('testContentType()');
- return testContentType().chain((_) {
+ return testContentType().then((_) {
print('testCookies()');
- return testCookies().chain((_) {
+ return testCookies().then((_) {
print('testFlush()');
return testFlush();
});
« no previous file with comments | « tests/standalone/io/fuzz_support.dart ('k') | tests/standalone/io/http_auth_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698