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

Unified Diff: tests/cli_tests/cli_tests.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/cc_tests/vm_run_tests_test.dart ('k') | tests/cli_tests/debugger_list_processes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/cli_tests/cli_tests.dart
diff --git a/tests/cli_tests/cli_tests.dart b/tests/cli_tests/cli_tests.dart
index e9f91c3b49d9976f642bdc414665a6b4803928ef..b0d0b67ea28729ab1df6ad918c84f271dc382466 100644
--- a/tests/cli_tests/cli_tests.dart
+++ b/tests/cli_tests/cli_tests.dart
@@ -15,15 +15,15 @@ import 'package:expect/expect.dart' show
import 'interactive_debugger_tests.dart' as
interactiveDebuggerTests;
-import 'package:fletchc/src/hub/exit_codes.dart' show
+import 'package:dartino_compiler/src/hub/exit_codes.dart' show
DART_VM_EXITCODE_COMPILE_TIME_ERROR;
/// Absolute path to the build directory used by test.py.
const String buildDirectory =
const String.fromEnvironment('test.dart.build-dir');
-/// Absolute path to the fletch executable.
-final Uri fletchBinary = Uri.base.resolve("$buildDirectory/fletch");
+/// Absolute path to the dartino executable.
+final Uri dartinoBinary = Uri.base.resolve("$buildDirectory/dartino");
final Uri thisDirectory = new Uri.directory("tests/cli_tests");
@@ -45,18 +45,18 @@ abstract class CliTest {
assert(!sessionCreated);
sessionName = "clitest-$name-$hashCode";
return Process.run(
- fletchBinary.toFilePath(),
+ dartinoBinary.toFilePath(),
["create", "session", sessionName],
workingDirectory: workingDirectory);
}
- Future<Process> fletch(List<String> arguments,
+ Future<Process> dartino(List<String> arguments,
{String workingDirectory}) async {
if (!sessionCreated) {
ProcessResult result = await createSession();
Expect.equals(0, result.exitCode);
}
- return Process.start(fletchBinary.toFilePath(), inSession(arguments),
+ return Process.start(dartinoBinary.toFilePath(), inSession(arguments),
workingDirectory: workingDirectory);
}
@@ -70,7 +70,7 @@ class NoSuchFile extends CliTest {
: super("no_such_file");
Future<Null> run() async {
- Process process = await fletch(["run", "no-such-file.dart"]);
+ Process process = await dartino(["run", "no-such-file.dart"]);
process.stdin.close();
Future outClosed = process.stdout.listen(null).asFuture();
await process.stderr.listen(null).asFuture();
« no previous file with comments | « tests/cc_tests/vm_run_tests_test.dart ('k') | tests/cli_tests/debugger_list_processes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698