OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 test.services.completion.util; | 5 library test.services.completion.util; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/src/analysis_server.dart'; | 9 import 'package:analysis_server/src/analysis_server.dart'; |
10 import 'package:analysis_server/src/protocol.dart' as protocol | 10 import 'package:analysis_server/src/protocol.dart' as protocol |
11 show Element, ElementKind; | 11 show Element, ElementKind; |
12 import 'package:analysis_server/src/protocol.dart' hide Element, ElementKind; | 12 import 'package:analysis_server/src/protocol.dart' hide Element, ElementKind; |
13 import 'package:analysis_server/src/services/completion/common_usage_computer.da
rt'; | 13 import 'package:analysis_server/src/services/completion/common_usage_computer.da
rt'; |
14 import 'package:analysis_server/src/services/completion/completion_manager.dart'
; | 14 import 'package:analysis_server/src/services/completion/completion_manager.dart'
; |
15 import 'package:analysis_server/src/services/completion/completion_target.dart'; | 15 import 'package:analysis_server/completion/dart/completion_target.dart'; |
16 import 'package:analysis_server/src/services/completion/dart_completion_cache.da
rt'; | 16 import 'package:analysis_server/src/services/completion/dart_completion_cache.da
rt'; |
17 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; | 17 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; |
18 import 'package:analysis_server/src/services/completion/imported_reference_contr
ibutor.dart'; | 18 import 'package:analysis_server/src/services/completion/imported_reference_contr
ibutor.dart'; |
19 import 'package:analysis_server/src/services/completion/prefixed_element_contrib
utor.dart'; | 19 import 'package:analysis_server/src/services/completion/prefixed_element_contrib
utor.dart'; |
20 import 'package:analysis_server/src/services/index/index.dart'; | 20 import 'package:analysis_server/src/services/index/index.dart'; |
21 import 'package:analysis_server/src/services/index/local_memory_index.dart'; | 21 import 'package:analysis_server/src/services/index/local_memory_index.dart'; |
22 import 'package:analysis_server/src/services/search/search_engine_internal.dart'
; | 22 import 'package:analysis_server/src/services/search/search_engine_internal.dart'
; |
23 import 'package:analyzer/src/generated/ast.dart'; | 23 import 'package:analyzer/src/generated/ast.dart'; |
24 import 'package:analyzer/src/generated/element.dart'; | 24 import 'package:analyzer/src/generated/element.dart'; |
25 import 'package:analyzer/src/generated/engine.dart'; | 25 import 'package:analyzer/src/generated/engine.dart'; |
(...skipping 4673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4699 assertNotSuggested('bar2'); | 4699 assertNotSuggested('bar2'); |
4700 assertNotSuggested('_B'); | 4700 assertNotSuggested('_B'); |
4701 assertSuggestLocalClass('Y'); | 4701 assertSuggestLocalClass('Y'); |
4702 assertSuggestLocalClass('C'); | 4702 assertSuggestLocalClass('C'); |
4703 assertSuggestLocalVariable('f', null); | 4703 assertSuggestLocalVariable('f', null); |
4704 assertNotSuggested('x'); | 4704 assertNotSuggested('x'); |
4705 assertNotSuggested('e'); | 4705 assertNotSuggested('e'); |
4706 }); | 4706 }); |
4707 } | 4707 } |
4708 } | 4708 } |
OLD | NEW |