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

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

Issue 19967002: Remove uses of Path class from tests/standalone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix windows error 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/file_test.dart ('k') | tests/standalone/io/https_client_certificate_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_proxy_test.dart
diff --git a/tests/standalone/io/http_proxy_test.dart b/tests/standalone/io/http_proxy_test.dart
index 70e06b651e7d61d3bca947373480a3de7087e0ea..3b56004e08fe39d606526f135c39a35bf3b24189 100644
--- a/tests/standalone/io/http_proxy_test.dart
+++ b/tests/standalone/io/http_proxy_test.dart
@@ -4,6 +4,7 @@
import "package:crypto/crypto.dart";
import "package:expect/expect.dart";
+import "package:path/path.dart";
import "dart:async";
import "dart:io";
import 'dart:utf';
@@ -745,9 +746,8 @@ void testRealProxyAuth() {
}
void InitializeSSL() {
- var testPkcertDatabase =
- new Path(Platform.script).directoryPath.append('pkcert/');
- SecureSocket.initialize(database: testPkcertDatabase.toNativePath(),
+ var testPkcertDatabase = join(dirname(Platform.script), 'pkcert');
+ SecureSocket.initialize(database: testPkcertDatabase,
password: 'dartdart');
}
« no previous file with comments | « tests/standalone/io/file_test.dart ('k') | tests/standalone/io/https_client_certificate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698