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

Side by Side Diff: tests/standalone/io/secure_bad_certificate_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_bad_certificate_test, that runs in a subprocess. 5 // Client for secure_bad_certificate_test, that runs in a subprocess.
6 // The test verifies that the client bad certificate callback works. 6 // The test verifies that the client bad certificate callback works.
7 7
8 import "dart:async"; 8 import "dart:async";
9 import "dart:io"; 9 import "dart:io";
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 expect(error is HandshakeException); 45 expect(error is HandshakeException);
46 } else if (result == 'exception') { 46 } else if (result == 'exception') {
47 expect(error is ExpectException); 47 expect(error is ExpectException);
48 } else { 48 } else {
49 expect(error is ArgumentError); 49 expect(error is ArgumentError);
50 } 50 }
51 }); 51 });
52 } 52 }
53 53
54 54
55 void main() { 55 void main(List<String> args) {
56 final args = new Options().arguments;
57 SecureSocket.initialize(); 56 SecureSocket.initialize();
58 runClient(int.parse(args[0]), args[1]); 57 runClient(int.parse(args[0]), args[1]);
59 } 58 }
OLDNEW
« no previous file with comments | « tests/standalone/io/raw_socket_cross_process_test.dart ('k') | tests/standalone/io/secure_bad_certificate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698