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

Unified Diff: tests/standalone/http_launch_data/http_spawn_main.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 | « sdk/lib/io/options.dart ('k') | tests/standalone/io/dart_std_io_pipe_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/http_launch_data/http_spawn_main.dart
diff --git a/tests/standalone/http_launch_data/http_spawn_main.dart b/tests/standalone/http_launch_data/http_spawn_main.dart
index dadc38558c8fb56cddaa76867e2bc3933e89223d..3960ea6190d3395a5a94c28c58074eaea927bf1c 100644
--- a/tests/standalone/http_launch_data/http_spawn_main.dart
+++ b/tests/standalone/http_launch_data/http_spawn_main.dart
@@ -7,8 +7,8 @@ library http_lanuch_main;
import 'dart:isolate';
import 'dart:io';
-main() {
- int port = int.parse(new Options().arguments[0]);
+main(List<String> arguments) {
+ int port = int.parse(arguments[0]);
SendPort spawnedPort =
spawnUri('http://127.0.0.1:$port/http_isolate_main.dart');
spawnedPort.call('hello').then((response) {
« no previous file with comments | « sdk/lib/io/options.dart ('k') | tests/standalone/io/dart_std_io_pipe_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698