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

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

Issue 635043002: show only type names in is expression RHS (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
Index: pkg/analysis_server/test/services/completion/imported_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/imported_computer_test.dart b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
index e99f176e06955a867eb66e81dccb7e13fd361254..bbab5fbc6c51febd2a7c0e3f94c28958b592958f 100644
--- a/pkg/analysis_server/test/services/completion/imported_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
@@ -189,16 +189,6 @@ class ImportedTypeComputerTest extends AbstractSelectorSuggestionTest {
});
}
- test_IsExpression_local() {
- // SimpleIdentifier TypeName IsExpression IfStatement
- addTestSource('''
- class X {X.c(); X._d(); z() {}}
- main() {var x; if (x is ^) { }}''');
- return computeFull().then((_) {
- assertNoSuggestions();
- });
- }
-
test_PrefixedIdentifier() {
// SimpleIdentifier PrefixedIdentifier ExpressionStatement
addSource('/testA.dart', '''
@@ -309,23 +299,6 @@ class ImportedTypeComputerTest extends AbstractSelectorSuggestionTest {
});
}
- xtest_IsExpression_imported() {
- // SimpleIdentifier TypeName IsExpression IfStatement
- addSource('/testB.dart', '''
- lib B;
- class X {X.c(); X._d(); z() {}}''');
- addTestSource('''
- import "/testB.dart";
- main() {var x; if (x is ^) { }}''');
- return computeFull().then((_) {
- assertSuggestConstructor('c');
- assertNotSuggested('main');
- assertNotSuggested('X');
- assertNotSuggested('B');
- assertNotSuggested('x');
- });
- }
-
xtest_VariableDeclarationStatement_RHS() {
// SimpleIdentifier VariableDeclaration VariableDeclarationList
// VariableDeclarationStatement

Powered by Google App Engine
This is Rietveld 408576698