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

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

Issue 18356011: Rename "pathos" package to "path". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 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 // This test verifies that client certificates work, if the client and server 5 // This test verifies that client certificates work, if the client and server
6 // are in separate processes, and that connection renegotiation works, and 6 // are in separate processes, and that connection renegotiation works, and
7 // can request a client certificate to be sent. 7 // can request a client certificate to be sent.
8 8
9 import "package:expect/expect.dart"; 9 import "package:expect/expect.dart";
10 import "package:pathos/path.dart" as path; 10 import "package:path/path.dart" as path;
11 import "dart:async"; 11 import "dart:async";
12 import "dart:io"; 12 import "dart:io";
13 13
14 const HOST_NAME = "localhost"; 14 const HOST_NAME = "localhost";
15 const CERTIFICATE = "localhost_cert"; 15 const CERTIFICATE = "localhost_cert";
16 16
17 17
18 String certificateDatabase() => 18 String certificateDatabase() =>
19 path.join(path.dirname(new Options().script), 'pkcert', ''); 19 path.join(path.dirname(new Options().script), 'pkcert', '');
20 20
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 if (result.exitCode != 0) { 76 if (result.exitCode != 0) {
77 print("Client failed, stdout:"); 77 print("Client failed, stdout:");
78 print(result.stdout); 78 print(result.stdout);
79 print(" stderr:"); 79 print(" stderr:");
80 print(result.stderr); 80 print(result.stderr);
81 Expect.fail('Client subprocess exit code: ${result.exitCode}'); 81 Expect.fail('Client subprocess exit code: ${result.exitCode}');
82 } 82 }
83 }); 83 });
84 }); 84 });
85 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698