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

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

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/https_unauthorized_test.dart
diff --git a/tests/standalone/io/https_unauthorized_test.dart b/tests/standalone/io/https_unauthorized_test.dart
index f415a83787508c808f29d6dcdeb1bb4d7c73ba12..6bded129ef1bc7910094987b4bb6ca086866e9cf 100644
--- a/tests/standalone/io/https_unauthorized_test.dart
+++ b/tests/standalone/io/https_unauthorized_test.dart
@@ -4,6 +4,10 @@
//
// OtherResources=certificates/server_chain.pem
// OtherResources=certificates/server_key.pem
+// OtherResources=certificates/untrusted_server_chain.pem
+// OtherResources=certificates/untrusted_server_key.pem
+// OtherResources=certificates/trusted_certs.pem
+// OtherResources=https_unauthorized_client.dart
// This test verifies that secure connections that fail due to
// unauthenticated certificates throw exceptions in HttpClient.
@@ -38,9 +42,7 @@ Future<SecureServerSocket> runServer() {
}
void main() {
- var clientScript = Platform.script
- .resolve('https_unauthorized_client.dart')
- .toFilePath();
+ var clientScript = localFile('https_unauthorized_client.dart');
Future clientProcess(int port) {
return Process.run(Platform.executable,
[clientScript, port.toString()])
« no previous file with comments | « tests/standalone/io/http_server_close_response_after_error_test.dart ('k') | tests/standalone/io/print_sync_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698