| 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/src/protocol.dart'; |
| 8 import 'package:analysis_server/src/services/completion/combinator_computer.dart
'; | 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:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
| 11 | 11 |
| 12 import '../../reflective_tests.dart'; | 12 import '../../reflective_tests.dart'; |
| 13 import 'completion_test_util.dart'; | 13 import 'completion_test_util.dart'; |
| 14 | 14 |
| 15 main() { | 15 main() { |
| 16 groupSep = ' | '; | 16 groupSep = ' | '; |
| 17 runReflectiveTests(CombinatorContributorTest); | 17 runReflectiveTests(CombinatorContributorTest); |
| 18 } | 18 } |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 kind: CompletionSuggestionKind.IDENTIFIER); | 120 kind: CompletionSuggestionKind.IDENTIFIER); |
| 121 assertSuggestFunctionTypeAlias('F2', null, | 121 assertSuggestFunctionTypeAlias('F2', null, |
| 122 false, DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER); | 122 false, DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER); |
| 123 assertNotSuggested('C'); | 123 assertNotSuggested('C'); |
| 124 assertNotSuggested('D'); | 124 assertNotSuggested('D'); |
| 125 assertNotSuggested('X'); | 125 assertNotSuggested('X'); |
| 126 assertNotSuggested('Object'); | 126 assertNotSuggested('Object'); |
| 127 }); | 127 }); |
| 128 } | 128 } |
| 129 } | 129 } |
| OLD | NEW |