| 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 library test.services.completion.dart.combinator; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/protocol.dart'; | 7 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
| 8 import 'package:analysis_server/src/services/completion/combinator_contributor.d
art'; | 8 import 'package:analysis_server/src/services/completion/combinator_contributor.d
art'; |
| 9 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; | 9 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; |
| 10 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 10 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 11 | 11 |
| 12 import '../../utils.dart'; | 12 import '../../utils.dart'; |
| 13 import 'completion_test_util.dart'; | 13 import 'completion_test_util.dart'; |
| 14 | 14 |
| 15 main() { | 15 main() { |
| 16 initializeTestEnvironment(); | 16 initializeTestEnvironment(); |
| 17 defineReflectiveTests(CombinatorContributorTest); | 17 defineReflectiveTests(CombinatorContributorTest); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 kind: CompletionSuggestionKind.IDENTIFIER); | 132 kind: CompletionSuggestionKind.IDENTIFIER); |
| 133 assertSuggestFunctionTypeAlias('F2', null, false, DART_RELEVANCE_DEFAULT, | 133 assertSuggestFunctionTypeAlias('F2', null, false, DART_RELEVANCE_DEFAULT, |
| 134 CompletionSuggestionKind.IDENTIFIER); | 134 CompletionSuggestionKind.IDENTIFIER); |
| 135 assertNotSuggested('C'); | 135 assertNotSuggested('C'); |
| 136 assertNotSuggested('D'); | 136 assertNotSuggested('D'); |
| 137 assertNotSuggested('X'); | 137 assertNotSuggested('X'); |
| 138 assertNotSuggested('Object'); | 138 assertNotSuggested('Object'); |
| 139 }); | 139 }); |
| 140 } | 140 } |
| 141 } | 141 } |
| OLD | NEW |