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

Side by Side Diff: tests/standalone/io/process_run_output_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 script for testing that output is handled correctly for 5 // Test script for testing that output is handled correctly for
6 // non-interactive processes started with Process.run. 6 // non-interactive processes started with Process.run.
7 7
8 import "dart:io"; 8 import "dart:io";
9 import "process_test_util.dart"; 9 import "process_test_util.dart";
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 } 51 }
52 52
53 main() { 53 main() {
54 var scriptFile = new File("tests/standalone/io/process_std_io_script2.dart"); 54 var scriptFile = new File("tests/standalone/io/process_std_io_script2.dart");
55 if (!scriptFile.existsSync()) { 55 if (!scriptFile.existsSync()) {
56 scriptFile = 56 scriptFile =
57 new File("../tests/standalone/io/process_std_io_script2.dart"); 57 new File("../tests/standalone/io/process_std_io_script2.dart");
58 } 58 }
59 Expect.isTrue(scriptFile.existsSync()); 59 Expect.isTrue(scriptFile.existsSync());
60 test(scriptFile.name, 'ascii', 'stdout'); 60 test(scriptFile.path, 'ascii', 'stdout');
61 test(scriptFile.name, 'ascii', 'stderr'); 61 test(scriptFile.path, 'ascii', 'stderr');
62 test(scriptFile.name, 'latin1', 'stdout'); 62 test(scriptFile.path, 'latin1', 'stdout');
63 test(scriptFile.name, 'latin1', 'stderr'); 63 test(scriptFile.path, 'latin1', 'stderr');
64 test(scriptFile.name, 'utf8', 'stdout'); 64 test(scriptFile.path, 'utf8', 'stdout');
65 test(scriptFile.name, 'utf8', 'stderr'); 65 test(scriptFile.path, 'utf8', 'stderr');
66 66
67 } 67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698