| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fasta.test.compile_test; | 5 library fasta.test.compile_test; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future; | 8 Future; |
| 9 | 9 |
| 10 import 'package:fasta/testing/suite.dart'; | 10 import 'package:front_end/src/fasta/testing/suite.dart'; |
| 11 | 11 |
| 12 Future<FeContext> createContext( | 12 Future<FeContext> createContext( |
| 13 Chain suite, Map<String, String> environment) { | 13 Chain suite, Map<String, String> environment) { |
| 14 environment[ENABLE_FULL_COMPILE] = ""; | 14 environment[ENABLE_FULL_COMPILE] = ""; |
| 15 environment[AST_KIND_INDEX] = "${AstKind.Kernel.index}"; | 15 environment[AST_KIND_INDEX] = "${AstKind.Kernel.index}"; |
| 16 return TestContext.create(suite, environment, FeContext.create); | 16 return TestContext.create(suite, environment, FeContext.create); |
| 17 } | 17 } |
| 18 | 18 |
| 19 main(List<String> arguments) => runMe(arguments, createContext); | 19 main(List<String> arguments) => runMe(arguments, createContext); |
| OLD | NEW |