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

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

Issue 655733002: exclude operators from "." suggestions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 2 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
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/suggestion_builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/completion/completion_test_util.dart
diff --git a/pkg/analysis_server/test/services/completion/completion_test_util.dart b/pkg/analysis_server/test/services/completion/completion_test_util.dart
index f710bc4ba0d144f87fa075fa965802b2f3d20cdc..ab9837fe3b5732c3e2270c92fa5698bbf5785375 100644
--- a/pkg/analysis_server/test/services/completion/completion_test_util.dart
+++ b/pkg/analysis_server/test/services/completion/completion_test_util.dart
@@ -581,6 +581,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertSuggestLocalVariable('a', 'int');
assertSuggestImportedClass('Object');
assertNotSuggested('b');
+ assertNotSuggested('==');
});
}
@@ -652,6 +653,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('_T4');
assertSuggestLocalTopLevelVar('T5', 'int');
assertSuggestLocalTopLevelVar('_T6', null);
+ assertNotSuggested('==');
// TODO (danrubel) suggest HtmlElement as low relevance
assertNotSuggested('HtmlElement');
});
@@ -677,6 +679,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('B');
assertNotSuggested('X');
assertNotSuggested('z');
+ assertNotSuggested('==');
});
}
@@ -698,6 +701,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('B');
assertNotSuggested('X');
assertNotSuggested('z');
+ assertNotSuggested('==');
});
}
@@ -715,6 +719,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertSuggestLocalClass('A');
assertSuggestLocalClass('X');
assertSuggestImportedClass('Object');
+ assertNotSuggested('==');
});
}
@@ -1105,6 +1110,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertSuggestInvocationGetter('length', 'int');
assertNotSuggested('name');
assertNotSuggested('Object');
+ assertNotSuggested('==');
});
}
@@ -1281,6 +1287,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('A');
assertNotSuggested('X');
assertNotSuggested('Object');
+ assertNotSuggested('==');
});
}
@@ -1311,6 +1318,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('A');
assertNotSuggested('X');
assertNotSuggested('Object');
+ assertNotSuggested('==');
});
}
@@ -1335,6 +1343,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('Object');
assertNotSuggested('b');
assertNotSuggested('A');
+ assertNotSuggested('==');
});
}
@@ -1352,6 +1361,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
return computeFull(true).then((_) {
assertSuggestInvocationGetter('y', 'M');
assertNotSuggested('_z');
+ assertNotSuggested('==');
});
}
@@ -1379,9 +1389,11 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
computeFast();
return computeFull(true).then((_) {
assertSuggestInvocationGetter('length', 'int');
+ assertNotSuggested('==');
assertNotSuggested('A');
assertNotSuggested('a');
assertNotSuggested('Object');
+ assertNotSuggested('==');
});
}
@@ -1394,6 +1406,7 @@ class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
assertNotSuggested('A');
assertNotSuggested('a');
assertNotSuggested('Object');
+ assertNotSuggested('==');
});
}
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/suggestion_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698