Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: pkg/analysis_server/test/services/completion/completion_test_util.dart

Issue 1383313002: Move completion APIs to a private location (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: formatting Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698