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

Unified Diff: pkg/front_end/test/fasta/strong_test.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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/front_end/test/fasta/strong.status ('k') | pkg/front_end/test/fasta/super_rasta_copy.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/fasta/strong_test.dart
diff --git a/pkg/front_end/test/fasta/strong_test.dart b/pkg/front_end/test/fasta/strong_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..6aee7f005c8b09a81eac5f5901b47864bcc78777
--- /dev/null
+++ b/pkg/front_end/test/fasta/strong_test.dart
@@ -0,0 +1,19 @@
+// Copyright (c) 2017, the Dart 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 fasta.test.compile_test;
+
+import 'dart:async' show Future;
+
+import 'package:front_end/src/fasta/testing/suite.dart';
+
+Future<FastaContext> createContext(
+ Chain suite, Map<String, String> environment) {
+ environment[ENABLE_FULL_COMPILE] = "";
+ environment[AST_KIND_INDEX] = "${AstKind.Kernel.index}";
+ environment[STRONG_MODE] = "";
+ return FastaContext.create(suite, environment);
+}
+
+main(List<String> arguments) => runMe(arguments, createContext, "testing.json");
« no previous file with comments | « pkg/front_end/test/fasta/strong.status ('k') | pkg/front_end/test/fasta/super_rasta_copy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698