OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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; | |
6 | |
7 import 'dart:async' show Future; | 5 import 'dart:async' show Future; |
8 | 6 |
9 import 'testing/suite.dart'; | 7 import 'testing/suite.dart'; |
10 | 8 |
11 Future<FastaContext> createContext( | 9 Future<FastaContext> createContext( |
12 Chain suite, Map<String, String> environment) { | 10 Chain suite, Map<String, String> environment) { |
13 environment[ENABLE_FULL_COMPILE] = ""; | 11 environment[ENABLE_FULL_COMPILE] = ""; |
14 environment[AST_KIND_INDEX] = "${AstKind.Analyzer.index}"; | 12 environment[AST_KIND_INDEX] = "${AstKind.Analyzer.index}"; |
| 13 environment[STRONG_MODE] = ""; |
| 14 environment[SKIP_KERNEL_GENERATION] = ""; |
15 return FastaContext.create(suite, environment); | 15 return FastaContext.create(suite, environment); |
16 } | 16 } |
17 | 17 |
18 main(List<String> arguments) => | 18 main(List<String> arguments) => |
19 runMe(arguments, createContext, "../../testing.json"); | 19 runMe(arguments, createContext, "../../testing.json"); |
OLD | NEW |