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

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

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « tests/standalone/io/process_shell_test.dart ('k') | tests/standalone/io/regress_7191_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « tests/standalone/io/process_shell_test.dart ('k') | tests/standalone/io/regress_7191_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698