OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library analyzer.test.src.context.abstract_context; | 5 library analyzer.test.src.context.abstract_context; |
6 | 6 |
| 7 import 'package:analyzer/dart/element/element.dart'; |
7 import 'package:analyzer/file_system/file_system.dart'; | 8 import 'package:analyzer/file_system/file_system.dart'; |
8 import 'package:analyzer/file_system/memory_file_system.dart'; | 9 import 'package:analyzer/file_system/memory_file_system.dart'; |
9 import 'package:analyzer/src/context/cache.dart'; | 10 import 'package:analyzer/src/context/cache.dart'; |
10 import 'package:analyzer/src/context/context.dart'; | 11 import 'package:analyzer/src/context/context.dart'; |
11 import 'package:analyzer/src/generated/element.dart'; | |
12 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
13 import 'package:analyzer/src/generated/sdk.dart'; | 13 import 'package:analyzer/src/generated/sdk.dart'; |
14 import 'package:analyzer/src/generated/source.dart'; | 14 import 'package:analyzer/src/generated/source.dart'; |
15 import 'package:analyzer/src/task/driver.dart'; | 15 import 'package:analyzer/src/task/driver.dart'; |
16 import 'package:analyzer/task/model.dart'; | 16 import 'package:analyzer/task/model.dart'; |
17 import 'package:plugin/manager.dart'; | 17 import 'package:plugin/manager.dart'; |
18 import 'package:plugin/plugin.dart'; | 18 import 'package:plugin/plugin.dart'; |
19 import 'package:unittest/unittest.dart'; | 19 import 'package:unittest/unittest.dart'; |
20 | 20 |
21 import 'mock_sdk.dart'; | 21 import 'mock_sdk.dart'; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 plugins.add(AnalysisEngine.instance.optionsPlugin); | 131 plugins.add(AnalysisEngine.instance.optionsPlugin); |
132 | 132 |
133 ExtensionManager manager = new ExtensionManager(); | 133 ExtensionManager manager = new ExtensionManager(); |
134 manager.processPlugins(plugins); | 134 manager.processPlugins(plugins); |
135 | 135 |
136 prepareAnalysisContext(); | 136 prepareAnalysisContext(); |
137 } | 137 } |
138 | 138 |
139 void tearDown() {} | 139 void tearDown() {} |
140 } | 140 } |
OLD | NEW |