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

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

Issue 11865005: Remove Futures class, move methods to Future. (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/http_auth_test.dart ('k') | tools/html_json_doc/lib/html_to_json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_session_test.dart
diff --git a/tests/standalone/io/http_session_test.dart b/tests/standalone/io/http_session_test.dart
index 0b83bf4fb5935931f8f3bd624de9d0a4f63668a8..796408f17185d6d02560dc27e8bc1670dd458a45 100644
--- a/tests/standalone/io/http_session_test.dart
+++ b/tests/standalone/io/http_session_test.dart
@@ -61,7 +61,7 @@ void testSessions(int sessionCount) {
});
}));
}
- Futures.wait(futures).then((clientSessions) {
+ Future.wait(futures).then((clientSessions) {
Expect.equals(sessions.length, sessionCount);
Expect.setEquals(new Set.from(clientSessions), sessions);
server.close();
@@ -86,8 +86,8 @@ void testTimeout(int sessionCount) {
for (int i = 0; i < sessionCount; i++) {
futures.add(connectGetSession(server.port));
}
- Futures.wait(futures).then((clientSessions) {
- Futures.wait(timeouts).then((_) {
+ Future.wait(futures).then((clientSessions) {
+ Future.wait(timeouts).then((_) {
futures = [];
for (var id in clientSessions) {
futures.add(connectGetSession(server.port, id).then((session) {
@@ -95,7 +95,7 @@ void testTimeout(int sessionCount) {
Expect.notEquals(id, session);
}));
}
- Futures.wait(futures).then((_) {
+ Future.wait(futures).then((_) {
server.close();
});
});
« no previous file with comments | « tests/standalone/io/http_auth_test.dart ('k') | tools/html_json_doc/lib/html_to_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698