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

Side by Side Diff: pkg/analysis_server/test/services/correction/assist_test.dart

Issue 2879273002: Make server use the common protocol classes (Closed)
Patch Set: Created 3 years, 7 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 import 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; 7 import 'package:analysis_server/plugin/edit/assist/assist_core.dart';
8 import 'package:analysis_server/plugin/edit/assist/assist_dart.dart'; 8 import 'package:analysis_server/plugin/edit/assist/assist_dart.dart';
9 import 'package:analysis_server/protocol/protocol_generated.dart';
10 import 'package:analysis_server/src/plugin/server_plugin.dart'; 9 import 'package:analysis_server/src/plugin/server_plugin.dart';
11 import 'package:analysis_server/src/services/correction/assist.dart'; 10 import 'package:analysis_server/src/services/correction/assist.dart';
12 import 'package:analysis_server/src/services/correction/assist_internal.dart'; 11 import 'package:analysis_server/src/services/correction/assist_internal.dart';
13 import 'package:analyzer/dart/ast/ast.dart'; 12 import 'package:analyzer/dart/ast/ast.dart';
14 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; 13 import 'package:analyzer/dart/ast/standard_resolution_map.dart';
15 import 'package:analyzer/dart/element/element.dart'; 14 import 'package:analyzer/dart/element/element.dart';
16 import 'package:analyzer/file_system/file_system.dart'; 15 import 'package:analyzer/file_system/file_system.dart';
17 import 'package:analyzer/source/package_map_resolver.dart'; 16 import 'package:analyzer/source/package_map_resolver.dart';
18 import 'package:analyzer/src/dart/analysis/ast_provider_context.dart'; 17 import 'package:analyzer/src/dart/analysis/ast_provider_context.dart';
19 import 'package:analyzer/src/dart/analysis/ast_provider_driver.dart'; 18 import 'package:analyzer/src/dart/analysis/ast_provider_driver.dart';
20 import 'package:analyzer/src/dart/element/ast_provider.dart'; 19 import 'package:analyzer/src/dart/element/ast_provider.dart';
21 import 'package:analyzer/src/generated/engine.dart'; 20 import 'package:analyzer/src/generated/engine.dart';
22 import 'package:analyzer/src/generated/source.dart'; 21 import 'package:analyzer/src/generated/source.dart';
22 import 'package:analyzer_plugin/protocol/protocol_common.dart';
23 import 'package:plugin/manager.dart'; 23 import 'package:plugin/manager.dart';
24 import 'package:plugin/plugin.dart'; 24 import 'package:plugin/plugin.dart';
25 import 'package:test/test.dart'; 25 import 'package:test/test.dart';
26 import 'package:test_reflective_loader/test_reflective_loader.dart'; 26 import 'package:test_reflective_loader/test_reflective_loader.dart';
27 27
28 import '../../abstract_single_unit.dart'; 28 import '../../abstract_single_unit.dart';
29 import 'flutter_util.dart'; 29 import 'flutter_util.dart';
30 30
31 main() { 31 main() {
32 defineReflectiveSuite(() { 32 defineReflectiveSuite(() {
(...skipping 4699 matching lines...) Expand 10 before | Expand all | Expand 10 after
4732 4732
4733 @override 4733 @override
4734 final AstProvider astProvider; 4734 final AstProvider astProvider;
4735 4735
4736 @override 4736 @override
4737 final CompilationUnit unit; 4737 final CompilationUnit unit;
4738 4738
4739 _DartAssistContextForValues(this.source, this.selectionOffset, 4739 _DartAssistContextForValues(this.source, this.selectionOffset,
4740 this.selectionLength, this.analysisContext, this.astProvider, this.unit); 4740 this.selectionLength, this.analysisContext, this.astProvider, this.unit);
4741 } 4741 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698