| 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 MessageKind; | 9 import 'package:compiler/src/diagnostics/messages.dart' show MessageKind; |
| 10 import 'package:compiler/src/elements/elements.dart'; | 10 import 'package:compiler/src/elements/elements.dart'; |
| 11 import 'package:compiler/src/elements/modelx.dart'; | 11 import 'package:compiler/src/elements/modelx.dart'; |
| 12 import 'package:compiler/src/elements/names.dart'; |
| 12 import 'package:compiler/src/tree/tree.dart'; | 13 import 'package:compiler/src/tree/tree.dart'; |
| 13 import 'package:compiler/src/types/types.dart'; | 14 import 'package:compiler/src/types/types.dart'; |
| 14 import 'package:compiler/src/universe/call_structure.dart' show CallStructure; | 15 import 'package:compiler/src/universe/call_structure.dart' show CallStructure; |
| 15 import 'package:compiler/src/universe/selector.dart' show Selector; | 16 import 'package:compiler/src/universe/selector.dart' show Selector; |
| 16 import 'package:compiler/src/world.dart'; | 17 import 'package:compiler/src/world.dart'; |
| 17 | 18 |
| 18 import 'mock_compiler.dart'; | 19 import 'mock_compiler.dart'; |
| 19 import 'mock_libraries.dart'; | 20 import 'mock_libraries.dart'; |
| 20 | 21 |
| 21 Future<Compiler> applyPatch(String script, String patch, | 22 Future<Compiler> applyPatch(String script, String patch, |
| (...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 await testPatchNonFunction(); | 1101 await testPatchNonFunction(); |
| 1101 | 1102 |
| 1102 await testPatchAndSelector(); | 1103 await testPatchAndSelector(); |
| 1103 | 1104 |
| 1104 await testEffectiveTarget(); | 1105 await testEffectiveTarget(); |
| 1105 | 1106 |
| 1106 await testAnalyzeAllInjectedMembers(); | 1107 await testAnalyzeAllInjectedMembers(); |
| 1107 await testTypecheckPatchedMembers(); | 1108 await testTypecheckPatchedMembers(); |
| 1108 }); | 1109 }); |
| 1109 } | 1110 } |
| OLD | NEW |