OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'package:expect/expect.dart'; | 6 import 'package:expect/expect.dart'; |
7 import 'package:async_helper/async_helper.dart'; | 7 import 'package:async_helper/async_helper.dart'; |
8 import 'package:compiler/src/compiler.dart'; | 8 import 'package:compiler/src/compiler.dart'; |
9 import 'package:compiler/src/diagnostics/messages.dart' show | 9 import 'package:compiler/src/diagnostics/messages.dart' show |
10 MessageKind; | 10 MessageKind; |
11 import 'package:compiler/src/elements/elements.dart'; | 11 import 'package:compiler/src/elements/elements.dart'; |
12 import 'package:compiler/src/elements/modelx.dart'; | 12 import 'package:compiler/src/elements/modelx.dart'; |
13 import 'package:compiler/src/tree/tree.dart'; | 13 import 'package:compiler/src/tree/tree.dart'; |
14 import 'package:compiler/src/types/types.dart'; | 14 import 'package:compiler/src/types/types.dart'; |
15 import 'package:compiler/src/universe/universe.dart' show | 15 import 'package:compiler/src/universe/call_structure.dart' show |
16 CallStructure, | 16 CallStructure; |
| 17 import 'package:compiler/src/universe/selector.dart' show |
17 Selector; | 18 Selector; |
18 import 'package:compiler/src/world.dart'; | 19 import 'package:compiler/src/world.dart'; |
19 | 20 |
20 import 'mock_compiler.dart'; | 21 import 'mock_compiler.dart'; |
21 import 'mock_libraries.dart'; | 22 import 'mock_libraries.dart'; |
22 | 23 |
23 Future<Compiler> applyPatch(String script, String patch, | 24 Future<Compiler> applyPatch(String script, String patch, |
24 {bool analyzeAll: false, | 25 {bool analyzeAll: false, |
25 bool analyzeOnly: false, | 26 bool analyzeOnly: false, |
26 bool runCompiler: false, | 27 bool runCompiler: false, |
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 await testPatchNonFunction(); | 1024 await testPatchNonFunction(); |
1024 | 1025 |
1025 await testPatchAndSelector(); | 1026 await testPatchAndSelector(); |
1026 | 1027 |
1027 await testEffectiveTarget(); /// bug: ok | 1028 await testEffectiveTarget(); /// bug: ok |
1028 | 1029 |
1029 await testAnalyzeAllInjectedMembers(); | 1030 await testAnalyzeAllInjectedMembers(); |
1030 await testTypecheckPatchedMembers(); | 1031 await testTypecheckPatchedMembers(); |
1031 }); | 1032 }); |
1032 } | 1033 } |
OLD | NEW |