OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.computer.dart.relevance; | 5 library test.services.completion.computer.dart.relevance; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/src/constants.dart'; | 9 import 'package:analysis_server/src/constants.dart'; |
10 import 'package:analysis_server/src/domain_completion.dart'; | 10 import 'package:analysis_server/src/domain_completion.dart'; |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 DART_RELEVANCE_COMMON_USAGE - 1); | 240 DART_RELEVANCE_COMMON_USAGE - 1); |
241 assertHasResult( | 241 assertHasResult( |
242 CompletionSuggestionKind.INVOCATION, | 242 CompletionSuggestionKind.INVOCATION, |
243 'nextInt', | 243 'nextInt', |
244 DART_RELEVANCE_COMMON_USAGE); | 244 DART_RELEVANCE_COMMON_USAGE); |
245 assertNoResult('Random'); | 245 assertNoResult('Random'); |
246 assertNoResult('Object'); | 246 assertNoResult('Object'); |
247 assertNoResult('A'); | 247 assertNoResult('A'); |
248 } | 248 } |
249 } | 249 } |
OLD | NEW |