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

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

Issue 787653002: remove unused cache arguments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 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
« no previous file with comments | « pkg/analysis_server/test/services/completion/completion_computer_test.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_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 5185bdc41c3688c90f02bb6fed12abacc56edb00..fef67892219fb9e2e495ea858353c501376b239e 100644
--- a/pkg/analysis_server/test/services/completion/completion_manager_test.dart
+++ b/pkg/analysis_server/test/services/completion/completion_manager_test.dart
@@ -20,33 +20,28 @@ main() {
@ReflectiveTestCase()
class CompletionManagerTest extends AbstractContextTest {
var perf = new CompletionPerformance();
- var cache = null;
test_dart() {
Source source = addSource('/does/not/exist.dart', '');
- var manager =
- new CompletionManager.create(context, source, null, cache);
+ 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, cache);
+ 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, cache);
+ 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, cache);
+ var manager = new CompletionManager.create(context, source, null);
expect(manager.runtimeType, NoOpCompletionManager);
}
}
« no previous file with comments | « pkg/analysis_server/test/services/completion/completion_computer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698