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

Unified Diff: pkg/dartino_compiler/tests/compiler_api_test.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: 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
Index: pkg/dartino_compiler/tests/compiler_api_test.dart
diff --git a/pkg/fletchc/tests/compiler_api_test.dart b/pkg/dartino_compiler/tests/compiler_api_test.dart
similarity index 52%
rename from pkg/fletchc/tests/compiler_api_test.dart
rename to pkg/dartino_compiler/tests/compiler_api_test.dart
index 202118e4b344498c039db95f4ab20cdec28c9ea4..d2420784f40367863257e02879d51c54211b6c37 100644
--- a/pkg/fletchc/tests/compiler_api_test.dart
+++ b/pkg/dartino_compiler/tests/compiler_api_test.dart
@@ -2,44 +2,44 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-library fletchc.compiler_api_test;
+library dartino_compiler.compiler_api_test;
-import 'package:fletchc/compiler.dart' show
- FletchCompiler;
+import 'package:dartino_compiler/compiler.dart' show
+ DartinoCompiler;
import 'package:expect/expect.dart' show
Expect;
main(List<String> arguments) {
- var compiler = new FletchCompiler();
+ var compiler = new DartinoCompiler();
Expect.throws(compiler.run, (e) => e is StateError);
Expect.throws(
- () => new FletchCompiler(packageConfig: 0),
+ () => new DartinoCompiler(packageConfig: 0),
(e) => e is ArgumentError && '$e'.contains("packageConfig"));
Expect.throws(
- () => new FletchCompiler(libraryRoot: 0),
+ () => new DartinoCompiler(libraryRoot: 0),
(e) => e is ArgumentError && '$e'.contains("libraryRoot"));
Expect.throws(
- () => new FletchCompiler(libraryRoot: '/dev/null'),
+ () => new DartinoCompiler(libraryRoot: '/dev/null'),
(e) => e is ArgumentError && '$e'.contains("Dart SDK library not found"));
Expect.throws(
- () => new FletchCompiler(script: 0),
+ () => new DartinoCompiler(script: 0),
(e) => e is ArgumentError && '$e'.contains("script"));
- new FletchCompiler(script: "lib/system/system.dart").run();
+ new DartinoCompiler(script: "lib/system/system.dart").run();
- new FletchCompiler(script: Uri.parse("lib/system/system.dart")).run();
+ new DartinoCompiler(script: Uri.parse("lib/system/system.dart")).run();
- new FletchCompiler(
+ new DartinoCompiler(
script: Uri.base.resolve("lib/system/system.dart")).run();
- new FletchCompiler().run("lib/system/system.dart");
+ new DartinoCompiler().run("lib/system/system.dart");
- new FletchCompiler().run(Uri.parse("lib/system/system.dart"));
+ new DartinoCompiler().run(Uri.parse("lib/system/system.dart"));
- new FletchCompiler().run(Uri.base.resolve("lib/system/system.dart"));
+ new DartinoCompiler().run(Uri.base.resolve("lib/system/system.dart"));
}

Powered by Google App Engine
This is Rietveld 408576698