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

Side by Side Diff: tests/standalone/io/secure_socket_renegotiate_client.dart

Issue 37033002: dart:io | Remove uses of Options class from standalone tests. Mark Options deprecated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove commented lines from standalone.status. Created 7 years, 1 month 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Client for secure_socket_renegotiate_test, that runs in a subprocess. 5 // Client for secure_socket_renegotiate_test, that runs in a subprocess.
6 // The test verifies that client certificates work, if the client and server 6 // The test verifies that client certificates work, if the client and server
7 // are in separate processes, and that connection renegotiation can request 7 // are in separate processes, and that connection renegotiation can request
8 // a client certificate to be sent. 8 // a client certificate to be sent.
9 9
10 import "dart:async"; 10 import "dart:async";
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 return input.moveNext(); 66 return input.moveNext();
67 }) 67 })
68 .then((success) { 68 .then((success) {
69 expect(success != true); 69 expect(success != true);
70 socket.close(); 70 socket.close();
71 }); 71 });
72 }); 72 });
73 } 73 }
74 74
75 75
76 void main() { 76 void main(List<String> args) {
77 final args = new Options().arguments;
78 SecureSocket.initialize(database: args[1], password: 'dartdart'); 77 SecureSocket.initialize(database: args[1], password: 'dartdart');
79 runClient(int.parse(args[0])); 78 runClient(int.parse(args[0]));
80 } 79 }
OLDNEW
« no previous file with comments | « tests/standalone/io/secure_builtin_roots_test.dart ('k') | tests/standalone/io/secure_socket_renegotiate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698