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

Unified Diff: pkg/analysis_server/test/analysis_abstract.dart

Issue 2843093002: Send re-analyze requests to plugins (Closed)
Patch Set: Created 3 years, 8 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_server/test/analysis_abstract.dart
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart
index 92c27f457e4ed847e82fbadedfa7b611efa98eb6..66850f0a5086f6488289004d7fd699385a50427e 100644
--- a/pkg/analysis_server/test/analysis_abstract.dart
+++ b/pkg/analysis_server/test/analysis_abstract.dart
@@ -275,6 +275,7 @@ class TestPluginManager implements PluginManager {
plugin.AnalysisSetPriorityFilesParams analysisSetPriorityFilesParams;
plugin.AnalysisSetSubscriptionsParams analysisSetSubscriptionsParams;
plugin.AnalysisUpdateContentParams analysisUpdateContentParams;
+ plugin.RequestParams broadcastedRequest;
Map<PluginInfo, Future<plugin.Response>> broadcastResults;
@override
@@ -310,7 +311,9 @@ class TestPluginManager implements PluginManager {
@override
Map<PluginInfo, Future<plugin.Response>> broadcastRequest(
- analyzer.ContextRoot contextRoot, plugin.RequestParams params) {
+ plugin.RequestParams params,
+ {analyzer.ContextRoot contextRoot}) {
+ broadcastedRequest = params;
return broadcastResults ?? <PluginInfo, Future<plugin.Response>>{};
}
« no previous file with comments | « pkg/analysis_server/test/analysis/reanalyze_test.dart ('k') | pkg/analysis_server/test/src/plugin/plugin_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698