OLD | NEW |
1 // Copyright (c) 2017, 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 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 'dart:typed_data'; | 6 import 'dart:typed_data'; |
7 | 7 |
8 import 'package:analysis_server/src/plugin/plugin_locator.dart'; | 8 import 'package:analysis_server/src/plugin/plugin_locator.dart'; |
9 import 'package:analysis_server/src/plugin/plugin_manager.dart'; | 9 import 'package:analysis_server/src/plugin/plugin_manager.dart'; |
10 import 'package:analysis_server/src/plugin/plugin_watcher.dart'; | 10 import 'package:analysis_server/src/plugin/plugin_watcher.dart'; |
11 import 'package:analyzer/context/context_root.dart'; | 11 import 'package:analyzer/context/context_root.dart'; |
12 import 'package:analyzer/dart/analysis/session.dart'; | 12 import 'package:analyzer/dart/analysis/session.dart'; |
13 import 'package:analyzer/file_system/memory_file_system.dart'; | 13 import 'package:analyzer/file_system/memory_file_system.dart'; |
14 import 'package:analyzer/source/package_map_resolver.dart'; | 14 import 'package:analyzer/source/package_map_resolver.dart'; |
15 import 'package:analyzer/src/dart/analysis/driver.dart'; | 15 import 'package:analyzer/src/dart/analysis/driver.dart'; |
16 import 'package:analyzer/src/dart/analysis/file_state.dart'; | 16 import 'package:analyzer/src/dart/analysis/file_state.dart'; |
17 import 'package:analyzer/src/dart/analysis/session.dart'; | 17 import 'package:analyzer/src/dart/analysis/session.dart'; |
18 import 'package:analyzer/src/generated/engine.dart' show AnalysisOptionsImpl; | 18 import 'package:analyzer/src/generated/engine.dart' show AnalysisOptionsImpl; |
19 import 'package:analyzer/src/generated/source.dart'; | 19 import 'package:analyzer/src/generated/source.dart'; |
20 import 'package:front_end/src/base/performace_logger.dart'; | 20 import 'package:front_end/src/base/performace_logger.dart'; |
21 import 'package:front_end/src/incremental/byte_store.dart'; | 21 import 'package:front_end/src/byte_store/byte_store.dart'; |
22 import 'package:path/path.dart' as path; | 22 import 'package:path/path.dart' as path; |
23 import 'package:test/test.dart'; | 23 import 'package:test/test.dart'; |
24 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 24 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
25 | 25 |
26 import '../../mock_sdk.dart'; | 26 import '../../mock_sdk.dart'; |
27 | 27 |
28 main() { | 28 main() { |
29 defineReflectiveSuite(() { | 29 defineReflectiveSuite(() { |
30 defineReflectiveTests(PluginWatcherTest); | 30 defineReflectiveTests(PluginWatcherTest); |
31 }); | 31 }); |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 return null; | 156 return null; |
157 } | 157 } |
158 | 158 |
159 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 159 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
160 | 160 |
161 @override | 161 @override |
162 void removedContextRoot(ContextRoot contextRoot) { | 162 void removedContextRoot(ContextRoot contextRoot) { |
163 removedContextRoots.add(contextRoot); | 163 removedContextRoots.add(contextRoot); |
164 } | 164 } |
165 } | 165 } |
OLD | NEW |