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.dart.combinator; | 5 import 'package:analysis_server/protocol/protocol_generated.dart'; |
6 | |
7 import 'package:analysis_server/plugin/protocol/protocol.dart'; | |
8 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; | 6 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; |
9 import 'package:analysis_server/src/services/completion/dart/combinator_contribu
tor.dart'; | 7 import 'package:analysis_server/src/services/completion/dart/combinator_contribu
tor.dart'; |
10 import 'package:analyzer/src/generated/source.dart'; | 8 import 'package:analyzer/src/generated/source.dart'; |
11 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 9 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
12 | 10 |
13 import 'completion_contributor_util.dart'; | 11 import 'completion_contributor_util.dart'; |
14 | 12 |
15 main() { | 13 main() { |
16 defineReflectiveSuite(() { | 14 defineReflectiveSuite(() { |
17 defineReflectiveTests(CombinatorContributorTest); | 15 defineReflectiveTests(CombinatorContributorTest); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 assertSuggestTopLevelVar('PI', 'double', | 153 assertSuggestTopLevelVar('PI', 'double', |
156 kind: CompletionSuggestionKind.IDENTIFIER); | 154 kind: CompletionSuggestionKind.IDENTIFIER); |
157 } | 155 } |
158 } | 156 } |
159 | 157 |
160 @reflectiveTest | 158 @reflectiveTest |
161 class CombinatorContributorTest_Driver extends CombinatorContributorTest { | 159 class CombinatorContributorTest_Driver extends CombinatorContributorTest { |
162 @override | 160 @override |
163 bool get enableNewAnalysisDriver => true; | 161 bool get enableNewAnalysisDriver => true; |
164 } | 162 } |
OLD | NEW |