| OLD | NEW |
| 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 #source("ProcessTestUtil.dart"); | 9 #source("ProcessTestUtil.dart"); |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 } | 56 } |
| 57 Expect.isTrue(scriptFile.existsSync()); | 57 Expect.isTrue(scriptFile.existsSync()); |
| 58 test(scriptFile.name, 'ascii', 'stdout'); | 58 test(scriptFile.name, 'ascii', 'stdout'); |
| 59 test(scriptFile.name, 'ascii', 'stderr'); | 59 test(scriptFile.name, 'ascii', 'stderr'); |
| 60 test(scriptFile.name, 'latin1', 'stdout'); | 60 test(scriptFile.name, 'latin1', 'stdout'); |
| 61 test(scriptFile.name, 'latin1', 'stderr'); | 61 test(scriptFile.name, 'latin1', 'stderr'); |
| 62 test(scriptFile.name, 'utf8', 'stdout'); | 62 test(scriptFile.name, 'utf8', 'stdout'); |
| 63 test(scriptFile.name, 'utf8', 'stderr'); | 63 test(scriptFile.name, 'utf8', 'stderr'); |
| 64 | 64 |
| 65 } | 65 } |
| OLD | NEW |