| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // OtherResources=process_sync_script.dart |
| 6 |
| 5 import "package:expect/expect.dart"; | 7 import "package:expect/expect.dart"; |
| 6 import 'package:path/path.dart'; | 8 import 'package:path/path.dart'; |
| 7 import "dart:io"; | 9 import "dart:io"; |
| 8 | 10 |
| 9 test(int blockCount, | 11 test(int blockCount, |
| 10 int stdoutBlockSize, | 12 int stdoutBlockSize, |
| 11 int stderrBlockSize, | 13 int stderrBlockSize, |
| 12 int exitCode, | 14 int exitCode, |
| 13 [int nonWindowsExitCode]) { | 15 [int nonWindowsExitCode]) { |
| 14 // Get the Dart script file that generates output. | 16 // Get the Dart script file that generates output. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 test(1, kBufferSize, kBufferSize, 0); | 55 test(1, kBufferSize, kBufferSize, 0); |
| 54 test(1, kBufferSize - 1, kBufferSize - 1, 0); | 56 test(1, kBufferSize - 1, kBufferSize - 1, 0); |
| 55 test(1, kBufferSize + 1, kBufferSize + 1, 0); | 57 test(1, kBufferSize + 1, kBufferSize + 1, 0); |
| 56 | 58 |
| 57 test(10, 10, 10, 1); | 59 test(10, 10, 10, 1); |
| 58 test(10, 10, 10, 255); | 60 test(10, 10, 10, 255); |
| 59 test(10, 10, 10, -1, 255); | 61 test(10, 10, 10, -1, 255); |
| 60 test(10, 10, 10, -255, 1); | 62 test(10, 10, 10, -255, 1); |
| 61 } | 63 } |
| 62 | 64 |
| OLD | NEW |