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

Unified Diff: tests/standalone/io/https_unauthorized_test.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, 2 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/https_unauthorized_client.dart ('k') | tests/standalone/io/platform_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f8fe73181245547aba197e70e0ec6d536622e054..dc3a24623e10e61f6154b58aabbba471a3fb8a36 100644
--- a/tests/standalone/io/https_unauthorized_test.dart
+++ b/tests/standalone/io/https_unauthorized_test.dart
@@ -15,7 +15,7 @@ const CERTIFICATE = "localhost_cert";
Future<SecureServerSocket> runServer() {
SecureSocket.initialize(
- database: join(dirname(new Options().script), 'pkcert'),
+ database: join(dirname(Platform.script), 'pkcert'),
password: 'dartdart');
return HttpServer.bindSecure(
@@ -29,12 +29,11 @@ Future<SecureServerSocket> runServer() {
}
void main() {
- final options = new Options();
- var clientScript = join(dirname(options.script),
+ var clientScript = join(dirname(Platform.script),
'https_unauthorized_client.dart');
Future clientProcess(int port) {
- return Process.run(options.executable,
+ return Process.run(Platform.executable,
[clientScript, port.toString()])
.then((ProcessResult result) {
if (result.exitCode != 0 || !result.stdout.contains('SUCCESS')) {
« no previous file with comments | « tests/standalone/io/https_unauthorized_client.dart ('k') | tests/standalone/io/platform_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698