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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Dart_GetType Created 7 years, 6 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/process_set_exit_code_test.dart ('k') | tests/standalone/io/process_stderr_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_shell_test.dart
diff --git a/tests/standalone/io/process_shell_test.dart b/tests/standalone/io/process_shell_test.dart
index fd962d9c3b30185694ef22dbf13ac9c7a40b97b9..3d0f6a8525af77dc0043585e83fea435d6bce39d 100644
--- a/tests/standalone/io/process_shell_test.dart
+++ b/tests/standalone/io/process_shell_test.dart
@@ -7,10 +7,9 @@ import "dart:isolate";
void testRunShell() {
test(args) {
- var options = new Options();
- var path = new Path(options.script);
+ var path = new Path(Platform.script);
path = path.directoryPath.join(new Path("process_echo_util.dart"));
- Process.run(options.executable,
+ Process.run(Platform.executable,
[path.toString()]..addAll(args),
runInShell: true)
.then((result) {
@@ -44,8 +43,7 @@ void testRunShell() {
void testBadRunShell() {
test(exe, [args = const []]) {
- var options = new Options();
- var path = new Path(options.script);
+ var path = new Path(Platform.script);
path = path.directoryPath.join(new Path("process_echo_util.dart"));
Process.run(exe, args, runInShell: true)
.then((result) {
« no previous file with comments | « tests/standalone/io/process_set_exit_code_test.dart ('k') | tests/standalone/io/process_stderr_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698