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

Side by Side Diff: pkg/analysis_server/test/plugin/protocol_dart_test.dart

Issue 2975473002: Fix for element_search.dart import in analysis_server. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'package:analysis_server/plugin/protocol/protocol_dart.dart'; 5 import 'package:analysis_server/plugin/protocol/protocol_dart.dart';
6 import 'package:analyzer/dart/ast/ast.dart' as engine; 6 import 'package:analyzer/dart/ast/ast.dart' as engine;
7 import 'package:analyzer/dart/ast/visitor.dart' as engine; 7 import 'package:analyzer/dart/ast/visitor.dart' as engine;
8 import 'package:analyzer/dart/element/element.dart' as engine; 8 import 'package:analyzer/dart/element/element.dart' as engine;
9 import 'package:analyzer/dart/element/type.dart' as engine; 9 import 'package:analyzer/dart/element/type.dart' as engine;
10 import 'package:analyzer/error/error.dart' as engine; 10 import 'package:analyzer/error/error.dart' as engine;
11 import 'package:analyzer/src/dart/ast/utilities.dart' as engine; 11 import 'package:analyzer/src/dart/ast/utilities.dart' as engine;
12 import 'package:analyzer/src/dart/element/element.dart' as engine; 12 import 'package:analyzer/src/dart/element/element.dart' as engine;
13 import 'package:analyzer/src/error/codes.dart' as engine; 13 import 'package:analyzer/src/error/codes.dart' as engine;
14 import 'package:analyzer/src/generated/source.dart' as engine; 14 import 'package:analyzer/src/generated/source.dart' as engine;
15 import 'package:analyzer/src/generated/testing/search.dart'; 15 import 'package:analyzer/src/generated/testing/element_search.dart';
16 import 'package:analyzer_plugin/protocol/protocol_common.dart'; 16 import 'package:analyzer_plugin/protocol/protocol_common.dart';
17 import 'package:test/test.dart'; 17 import 'package:test/test.dart';
18 import 'package:test_reflective_loader/test_reflective_loader.dart'; 18 import 'package:test_reflective_loader/test_reflective_loader.dart';
19 19
20 import '../abstract_context.dart'; 20 import '../abstract_context.dart';
21 21
22 main() { 22 main() {
23 defineReflectiveSuite(() { 23 defineReflectiveSuite(() {
24 defineReflectiveTests(ElementTest); 24 defineReflectiveTests(ElementTest);
25 defineReflectiveTests(ElementKindTest); 25 defineReflectiveTests(ElementKindTest);
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 expect(location.offset, 16); 472 expect(location.offset, 16);
473 expect(location.length, 'mySetter'.length); 473 expect(location.length, 'mySetter'.length);
474 expect(location.startLine, 2); 474 expect(location.startLine, 2);
475 expect(location.startColumn, 7); 475 expect(location.startColumn, 7);
476 } 476 }
477 expect(element.parameters, '(String x)'); 477 expect(element.parameters, '(String x)');
478 expect(element.returnType, isNull); 478 expect(element.returnType, isNull);
479 expect(element.flags, 0); 479 expect(element.flags, 0);
480 } 480 }
481 } 481 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698