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

Unified Diff: pkg/analysis_server/test/src/plugin/plugin_manager_test.dart

Issue 2830863002: Initial support for getting fixes from 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/src/plugin/plugin_manager_test.dart
diff --git a/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart b/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart
index 917c3f86e90599fd784c8348c32ba658610f1562..f572cfd96dfa466a533d1b890137b949fd153587 100644
--- a/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart
+++ b/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart
@@ -140,7 +140,7 @@ class PluginManagerFromDiskTest extends PluginTestSupport {
await manager.addPluginToContextRoot(contextRoot, plugin1Path);
await manager.addPluginToContextRoot(contextRoot, plugin2Path);
- List<Future<Response>> responses = manager.broadcast(
+ Map<PluginInfo, Future<Response>> responses = manager.broadcast(
contextRoot,
new CompletionGetSuggestionsParams(
'/pkg1/lib/pkg1.dart', 100));
@@ -226,7 +226,7 @@ class PluginManagerTest {
void test_broadcast_none() {
ContextRoot contextRoot = new ContextRoot('/pkg1', []);
- List<Future<Response>> responses = manager.broadcast(contextRoot,
+ Map<PluginInfo, Future<Response>> responses = manager.broadcast(contextRoot,
new CompletionGetSuggestionsParams('/pkg1/lib/pkg1.dart', 100));
expect(responses, hasLength(0));
}

Powered by Google App Engine
This is Rietveld 408576698