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

Side by Side Diff: tests/standalone/io/stdin_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
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=stdin_sync_script.dart
6
5 import "dart:convert"; 7 import "dart:convert";
6 import "dart:io"; 8 import "dart:io";
7 9
8 import "package:path/path.dart"; 10 import "package:path/path.dart";
9 import "package:expect/expect.dart"; 11 import "package:expect/expect.dart";
10 12
11 void testReadByte() { 13 void testReadByte() {
12 void test(String line, List<String> expected) { 14 void test(String line, List<String> expected) {
13 var script = Platform.script.resolve("stdin_sync_script.dart").toFilePath(); 15 var script = Platform.script.resolve("stdin_sync_script.dart").toFilePath();
14 Process.start(Platform.executable, 16 Process.start(Platform.executable,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 72
71 73
72 void main() { 74 void main() {
73 testReadByte(); 75 testReadByte();
74 76
75 // testEchoMode and testLineMode is developer-interactive tests, thus not 77 // testEchoMode and testLineMode is developer-interactive tests, thus not
76 // enabled. 78 // enabled.
77 //testEchoMode(); 79 //testEchoMode();
78 //testLineMode(); 80 //testLineMode();
79 } 81 }
OLDNEW
« no previous file with comments | « tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | tests/standalone/io/stdio_implicit_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698