| 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/provisional/completion/dart/completion_targe
t.dart'; |
| 13 import 'package:analysis_server/src/services/completion/common_usage_computer.da
rt'; | 14 import 'package:analysis_server/src/services/completion/common_usage_computer.da
rt'; |
| 14 import 'package:analysis_server/src/services/completion/completion_manager.dart'
; | 15 import 'package:analysis_server/src/services/completion/completion_manager.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 4677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4703 assertNotSuggested('bar2'); | 4703 assertNotSuggested('bar2'); |
| 4704 assertNotSuggested('_B'); | 4704 assertNotSuggested('_B'); |
| 4705 assertSuggestLocalClass('Y'); | 4705 assertSuggestLocalClass('Y'); |
| 4706 assertSuggestLocalClass('C'); | 4706 assertSuggestLocalClass('C'); |
| 4707 assertSuggestLocalVariable('f', null); | 4707 assertSuggestLocalVariable('f', null); |
| 4708 assertNotSuggested('x'); | 4708 assertNotSuggested('x'); |
| 4709 assertNotSuggested('e'); | 4709 assertNotSuggested('e'); |
| 4710 }); | 4710 }); |
| 4711 } | 4711 } |
| 4712 } | 4712 } |
| OLD | NEW |