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

Unified Diff: pkg/analysis_server/test/services/completion/combinator_computer_test.dart

Issue 904603004: rename completion constants and cleanup comment (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/completion/combinator_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/combinator_computer_test.dart b/pkg/analysis_server/test/services/completion/combinator_computer_test.dart
index e07cae5acf487edfcc8aa386837665b9829c759b..4db0ad3aecc1d115f7b550dd6e7463bd4c35ae99 100644
--- a/pkg/analysis_server/test/services/completion/combinator_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/combinator_computer_test.dart
@@ -62,26 +62,26 @@ class CombinatorComputerTest extends AbstractCompletionTest {
return computeFull((bool result) {
assertSuggestClass(
'A',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestClass(
'B',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestClass(
'PB',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestTopLevelVar(
'T1',
null,
- COMPLETION_RELEVANCE_DEFAULT,
+ DART_RELEVANCE_DEFAULT,
CompletionSuggestionKind.IDENTIFIER);
assertSuggestFunction(
'F1',
'PB',
false,
- COMPLETION_RELEVANCE_DEFAULT,
+ DART_RELEVANCE_DEFAULT,
CompletionSuggestionKind.IDENTIFIER);
assertNotSuggested('C');
assertNotSuggested('D');
@@ -115,36 +115,36 @@ class CombinatorComputerTest extends AbstractCompletionTest {
return computeFull((bool result) {
assertSuggestClass(
'A',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestClass(
'B',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestClass(
'PB',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestTopLevelVar(
'T1',
null,
- COMPLETION_RELEVANCE_DEFAULT,
+ DART_RELEVANCE_DEFAULT,
CompletionSuggestionKind.IDENTIFIER);
assertSuggestFunction(
'F1',
'PB',
false,
- COMPLETION_RELEVANCE_DEFAULT,
+ DART_RELEVANCE_DEFAULT,
CompletionSuggestionKind.IDENTIFIER);
assertSuggestClass(
'Clz',
- relevance: COMPLETION_RELEVANCE_DEFAULT,
+ relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
assertSuggestFunctionTypeAlias(
'F2',
null,
false,
- COMPLETION_RELEVANCE_DEFAULT,
+ DART_RELEVANCE_DEFAULT,
CompletionSuggestionKind.IDENTIFIER);
assertNotSuggested('C');
assertNotSuggested('D');

Powered by Google App Engine
This is Rietveld 408576698