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

Unified Diff: pkg/analysis_server/test/domain_completion_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
Index: pkg/analysis_server/test/domain_completion_test.dart
diff --git a/pkg/analysis_server/test/domain_completion_test.dart b/pkg/analysis_server/test/domain_completion_test.dart
index ba315a8bacf422f23af183ad15f1909ac57fb608..d6f6520d9f083d17bc0dce8eec36e4b647827c18 100644
--- a/pkg/analysis_server/test/domain_completion_test.dart
+++ b/pkg/analysis_server/test/domain_completion_test.dart
@@ -435,12 +435,10 @@ class MockCompletionManager implements CompletionManager {
final AnalysisContext context;
final Source source;
final SearchEngine searchEngine;
- CompletionCache cache;
StreamController<CompletionResult> controller;
int computeCallCount = 0;
- MockCompletionManager(this.context, this.source, this.searchEngine,
- this.cache);
+ MockCompletionManager(this.context, this.source, this.searchEngine);
@override
void computeCache() {
@@ -558,7 +556,7 @@ class Test_CompletionDomainHandler extends CompletionDomainHandler {
}
CompletionManager createCompletionManager(AnalysisContext context,
- Source source, SearchEngine searchEngine, CompletionCache cache) {
- return new MockCompletionManager(mockContext, source, searchEngine, cache);
+ Source source, SearchEngine searchEngine) {
+ return new MockCompletionManager(mockContext, source, searchEngine);
}
}

Powered by Google App Engine
This is Rietveld 408576698