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

Side by Side Diff: tests/standalone/io/dart_std_io_pipe_test.dart

Issue 12314153: dart:io | Rename File.name to File.path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove stray line break. Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // Test a dart sub-process handling stdio with different types of 5 // Test a dart sub-process handling stdio with different types of
6 // redirection. 6 // redirection.
7 // 7 //
8 // VMOptions= 8 // VMOptions=
9 // VMOptions=--short_socket_read 9 // VMOptions=--short_socket_read
10 // VMOptions=--short_socket_write 10 // VMOptions=--short_socket_write
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 if (!shellScript.existsSync()) { 90 if (!shellScript.existsSync()) {
91 shellScript = new File("../tests/standalone/io/dart_std_io_pipe_test.sh"); 91 shellScript = new File("../tests/standalone/io/dart_std_io_pipe_test.sh");
92 } 92 }
93 // Get the Dart script file which echoes stdin to stdout or stderr or both. 93 // Get the Dart script file which echoes stdin to stdout or stderr or both.
94 var scriptFile = new File("tests/standalone/io/process_std_io_script.dart"); 94 var scriptFile = new File("tests/standalone/io/process_std_io_script.dart");
95 if (!scriptFile.existsSync()) { 95 if (!scriptFile.existsSync()) {
96 scriptFile = new File("../tests/standalone/io/process_std_io_script.dart"); 96 scriptFile = new File("../tests/standalone/io/process_std_io_script.dart");
97 } 97 }
98 98
99 // Run the shell script. 99 // Run the shell script.
100 test(shellScript.name, scriptFile.name, "0"); 100 test(shellScript.path, scriptFile.path, "0");
101 test(shellScript.name, scriptFile.name, "1"); 101 test(shellScript.path, scriptFile.path, "1");
102 test(shellScript.name, scriptFile.name, "2"); 102 test(shellScript.path, scriptFile.path, "2");
103 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698