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

Unified Diff: pkg/analysis_services/test/completion/imported_type_computer_test.dart

Issue 467233003: refactor and cleanup code completion (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 4 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_services/test/completion/imported_type_computer_test.dart
diff --git a/pkg/analysis_services/test/completion/imported_type_computer_test.dart b/pkg/analysis_services/test/completion/imported_type_computer_test.dart
index 9df921fcf05af5ea177c3323ea561a97ccfeab35..b91dcadc9ca64ad6fdaea7020a56dc863cd0054c 100644
--- a/pkg/analysis_services/test/completion/imported_type_computer_test.dart
+++ b/pkg/analysis_services/test/completion/imported_type_computer_test.dart
@@ -107,7 +107,7 @@ class ImportedTypeComputerTest extends AbstractCompletionTest {
test_class_notImported() {
addSource('/testA.dart', 'class A {int x;} class _B { }');
addTestSource('class C {foo(){^}}');
- return computeFull().then((_) {
+ return computeFull(true).then((_) {
assertSuggestClass('A', CompletionRelevance.LOW);
assertNotSuggested('x');
assertNotSuggested('_B');
@@ -199,7 +199,7 @@ class ImportedTypeComputerTest extends AbstractCompletionTest {
test_topLevelVar_notImported() {
addSource('/testA.dart', 'var T1; var _T2;');
addTestSource('class C {foo(){^}}');
- return computeFull().then((_) {
+ return computeFull(true).then((_) {
assertSuggestTopLevelVar('T1', CompletionRelevance.LOW);
assertNotSuggested('_T2');
});

Powered by Google App Engine
This is Rietveld 408576698