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

Unified Diff: pkg/analysis_server/test/src/domain_abstract_test.dart

Issue 2874803003: Add support for built-in plugins (Closed)
Patch Set: Created 3 years, 7 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/domain_abstract_test.dart
diff --git a/pkg/analysis_server/test/src/domain_abstract_test.dart b/pkg/analysis_server/test/src/domain_abstract_test.dart
index 433bff10ec94a937d9ac00a2dfc0cba8e022b65e..af66f3871693e2e7c0558378d5253b5b9a04bb41 100644
--- a/pkg/analysis_server/test/src/domain_abstract_test.dart
+++ b/pkg/analysis_server/test/src/domain_abstract_test.dart
@@ -48,8 +48,8 @@ class AbstractRequestHandlerTest extends AbstractAnalysisTest {
test_waitForResponses_nonEmpty_noTimeout_immediate() async {
AbstractRequestHandler handler = new TestAbstractRequestHandler(server);
- PluginInfo plugin1 = new PluginInfo('p1', '', '', null, null);
- PluginInfo plugin2 = new PluginInfo('p2', '', '', null, null);
+ PluginInfo plugin1 = new DiscoveredPluginInfo('p1', '', '', null, null);
+ PluginInfo plugin2 = new DiscoveredPluginInfo('p2', '', '', null, null);
plugin.Response response1 = new plugin.Response('1');
plugin.Response response2 = new plugin.Response('2');
Map<PluginInfo, Future<plugin.Response>> futures =
@@ -63,8 +63,8 @@ class AbstractRequestHandlerTest extends AbstractAnalysisTest {
test_waitForResponses_nonEmpty_noTimeout_withError() async {
AbstractRequestHandler handler = new TestAbstractRequestHandler(server);
- PluginInfo plugin1 = new PluginInfo('p1', '', '', null, null);
- PluginInfo plugin2 = new PluginInfo('p2', '', '', null, null);
+ PluginInfo plugin1 = new DiscoveredPluginInfo('p1', '', '', null, null);
+ PluginInfo plugin2 = new DiscoveredPluginInfo('p2', '', '', null, null);
plugin.Response response1 = new plugin.Response('1');
plugin.Response response2 = new plugin.Response('2',
error: new plugin.RequestError(
@@ -80,9 +80,9 @@ class AbstractRequestHandlerTest extends AbstractAnalysisTest {
test_waitForResponses_nonEmpty_timeout_someDelayed() async {
AbstractRequestHandler handler = new TestAbstractRequestHandler(server);
- PluginInfo plugin1 = new PluginInfo('p1', '', '', null, null);
- PluginInfo plugin2 = new PluginInfo('p2', '', '', null, null);
- PluginInfo plugin3 = new PluginInfo('p3', '', '', null, null);
+ PluginInfo plugin1 = new DiscoveredPluginInfo('p1', '', '', null, null);
+ PluginInfo plugin2 = new DiscoveredPluginInfo('p2', '', '', null, null);
+ PluginInfo plugin3 = new DiscoveredPluginInfo('p3', '', '', null, null);
plugin.Response response1 = new plugin.Response('1');
plugin.Response response2 = new plugin.Response('2');
plugin.Response response3 = new plugin.Response('3');
« no previous file with comments | « pkg/analysis_server/test/edit/fixes_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