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

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

Issue 1500723002: hookup new CompletionContributorFactory (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix comment Created 5 years 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/completion_manager_test.dart
diff --git a/pkg/analysis_server/test/services/completion/completion_manager_test.dart b/pkg/analysis_server/test/services/completion/completion_manager_test.dart
index eab5223d6b2c0f38d46daae222376b9a5b06dc3a..4ee538d6540060368b0053b51619b6a72f461d5f 100644
--- a/pkg/analysis_server/test/services/completion/completion_manager_test.dart
+++ b/pkg/analysis_server/test/services/completion/completion_manager_test.dart
@@ -24,25 +24,25 @@ class CompletionManagerTest extends AbstractContextTest {
test_dart() {
Source source = addSource('/does/not/exist.dart', '');
- var manager = new CompletionManager.create(context, source, null);
+ var manager = new CompletionManager.create(context, source, null, []);
expect(manager.runtimeType, DartCompletionManager);
}
test_html() {
Source source = addSource('/does/not/exist.html', '');
- var manager = new CompletionManager.create(context, source, null);
+ var manager = new CompletionManager.create(context, source, null, []);
expect(manager.runtimeType, NoOpCompletionManager);
}
test_null_context() {
Source source = addSource('/does/not/exist.dart', '');
- var manager = new CompletionManager.create(null, source, null);
+ var manager = new CompletionManager.create(null, source, null, []);
expect(manager.runtimeType, NoOpCompletionManager);
}
test_other() {
Source source = addSource('/does/not/exist.foo', '');
- var manager = new CompletionManager.create(context, source, null);
+ var manager = new CompletionManager.create(context, source, null, []);
expect(manager.runtimeType, NoOpCompletionManager);
}
}

Powered by Google App Engine
This is Rietveld 408576698