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

Unified Diff: pkg/fletchc/tests/compiler_api_test.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 | « pkg/fletchc/samples/fletchc_driver/target.dart ('k') | pkg/gpio/lib/gpio.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/tests/compiler_api_test.dart
diff --git a/pkg/fletchc/tests/compiler_api_test.dart b/pkg/fletchc/tests/compiler_api_test.dart
deleted file mode 100644
index 202118e4b344498c039db95f4ab20cdec28c9ea4..0000000000000000000000000000000000000000
--- a/pkg/fletchc/tests/compiler_api_test.dart
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// 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;
-
-import 'package:fletchc/compiler.dart' show
- FletchCompiler;
-
-import 'package:expect/expect.dart' show
- Expect;
-
-main(List<String> arguments) {
- var compiler = new FletchCompiler();
- Expect.throws(compiler.run, (e) => e is StateError);
-
- Expect.throws(
- () => new FletchCompiler(packageConfig: 0),
- (e) => e is ArgumentError && '$e'.contains("packageConfig"));
-
- Expect.throws(
- () => new FletchCompiler(libraryRoot: 0),
- (e) => e is ArgumentError && '$e'.contains("libraryRoot"));
-
- Expect.throws(
- () => new FletchCompiler(libraryRoot: '/dev/null'),
- (e) => e is ArgumentError && '$e'.contains("Dart SDK library not found"));
-
- Expect.throws(
- () => new FletchCompiler(script: 0),
- (e) => e is ArgumentError && '$e'.contains("script"));
-
- new FletchCompiler(script: "lib/system/system.dart").run();
-
- new FletchCompiler(script: Uri.parse("lib/system/system.dart")).run();
-
- new FletchCompiler(
- script: Uri.base.resolve("lib/system/system.dart")).run();
-
- new FletchCompiler().run("lib/system/system.dart");
-
- new FletchCompiler().run(Uri.parse("lib/system/system.dart"));
-
- new FletchCompiler().run(Uri.base.resolve("lib/system/system.dart"));
-}
« no previous file with comments | « pkg/fletchc/samples/fletchc_driver/target.dart ('k') | pkg/gpio/lib/gpio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698