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

Unified Diff: tests/standalone/io/https_client_certificate_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/http_shutdown_test.dart ('k') | tests/standalone/io/list_input_stream_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/https_client_certificate_test.dart
diff --git a/tests/standalone/io/https_client_certificate_test.dart b/tests/standalone/io/https_client_certificate_test.dart
index 572b30fc92bf6d49d117ffa4e1dd3855e5b17157..029c8fd2f38d86e1f3dc7c011b152f64253ea14f 100644
--- a/tests/standalone/io/https_client_certificate_test.dart
+++ b/tests/standalone/io/https_client_certificate_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+import "dart:async";
import "dart:io";
import "dart:uri";
import "dart:isolate";
@@ -64,7 +65,7 @@ Function test(Map options) {
return completer.future;
}
- testConnect(true).chain(testConnect).then((_) {
+ testConnect(true).then(testConnect).then((_) {
client.shutdown();
server.close();
Expect.throws(() => server.port);
@@ -88,7 +89,7 @@ void main() {
InitializeSSL();
// Test two connections in sequence.
test({'certificateName': null})()
- .chain(test({'certificateName': 'localhost_cert'}))
+ .then(test({'certificateName': 'localhost_cert'}))
.then((_) {
Expect.equals(2, numClientCertificatesReceived);
keepAlive.close();
« no previous file with comments | « tests/standalone/io/http_shutdown_test.dart ('k') | tests/standalone/io/list_input_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698