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

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

Issue 2875223003: convert completion tests to use new analysis driver (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
index 8b1349a6f250c0e501a6b0c69265ec31bd419180..4326f0eeda6b70f72f7ab1738e7377b178a6f8b5 100644
--- a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
@@ -61,11 +61,6 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
import "/testCD.dart";
class X {}''');
- // Assume that imported libraries have been resolved
- if (!enableNewAnalysisDriver) {
- context.resolveCompilationUnit2(importedLibSource, importedLibSource);
- }
-
await computeSuggestions();
assertSuggestClass('A',
relevance: DART_RELEVANCE_DEFAULT,
@@ -115,11 +110,6 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
import "/testCD.dart";
class X {}''');
- // Assume that imported libraries have been resolved
- if (!enableNewAnalysisDriver) {
- context.resolveCompilationUnit2(importedLibSource, importedLibSource);
- }
-
await computeSuggestions();
assertSuggestClass('A',
relevance: DART_RELEVANCE_DEFAULT,
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698