OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 | 6 |
7 import 'package:analysis_server/src/services/search/search_engine.dart'; | 7 import 'package:analysis_server/src/services/search/search_engine.dart'; |
8 import 'package:analysis_server/src/services/search/search_engine_internal.dart'
; | 8 import 'package:analysis_server/src/services/search/search_engine_internal.dart'
; |
9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
11 import 'package:analyzer/file_system/memory_file_system.dart'; | 11 import 'package:analyzer/file_system/memory_file_system.dart'; |
12 import 'package:analyzer/src/dart/analysis/driver.dart'; | 12 import 'package:analyzer/src/dart/analysis/driver.dart'; |
13 import 'package:analyzer/src/dart/analysis/file_state.dart'; | 13 import 'package:analyzer/src/dart/analysis/file_state.dart'; |
14 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
15 import 'package:analyzer/src/generated/sdk.dart'; | 15 import 'package:analyzer/src/generated/sdk.dart'; |
16 import 'package:analyzer/src/generated/source.dart'; | 16 import 'package:analyzer/src/generated/source.dart'; |
17 import 'package:front_end/src/base/performace_logger.dart'; | 17 import 'package:front_end/src/base/performace_logger.dart'; |
18 import 'package:front_end/src/incremental/byte_store.dart'; | 18 import 'package:front_end/src/byte_store/byte_store.dart'; |
19 import 'package:test/test.dart'; | 19 import 'package:test/test.dart'; |
20 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 20 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
21 | 21 |
22 import '../../mock_sdk.dart'; | 22 import '../../mock_sdk.dart'; |
23 | 23 |
24 main() { | 24 main() { |
25 defineReflectiveSuite(() { | 25 defineReflectiveSuite(() { |
26 defineReflectiveTests(SearchEngineImpl2Test); | 26 defineReflectiveTests(SearchEngineImpl2Test); |
27 }); | 27 }); |
28 } | 28 } |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 contentOverlay, | 413 contentOverlay, |
414 null, | 414 null, |
415 new SourceFactory( | 415 new SourceFactory( |
416 [new DartUriResolver(sdk), new ResourceUriResolver(provider)], | 416 [new DartUriResolver(sdk), new ResourceUriResolver(provider)], |
417 null, | 417 null, |
418 provider), | 418 provider), |
419 new AnalysisOptionsImpl()..strongMode = true); | 419 new AnalysisOptionsImpl()..strongMode = true); |
420 | 420 |
421 String _p(String path) => provider.convertPath(path); | 421 String _p(String path) => provider.convertPath(path); |
422 } | 422 } |
OLD | NEW |