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

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

Issue 2890163004: Add requestTime to responses (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 86ba571d71b5163e5c38f5d24ecd8652f146203e..6585efb1bb91f6d9257c751ee3853a8f2d28d989 100644
--- a/pkg/analysis_server/test/src/domain_abstract_test.dart
+++ b/pkg/analysis_server/test/src/domain_abstract_test.dart
@@ -44,8 +44,8 @@ class AbstractRequestHandlerTest extends AbstractAnalysisTest {
AbstractRequestHandler handler = new TestAbstractRequestHandler(server);
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');
+ plugin.Response response1 = new plugin.Response('1', 1);
+ plugin.Response response2 = new plugin.Response('2', 2);
Map<PluginInfo, Future<plugin.Response>> futures =
<PluginInfo, Future<plugin.Response>>{
plugin1: new Future.value(response1),
@@ -59,8 +59,8 @@ class AbstractRequestHandlerTest extends AbstractAnalysisTest {
AbstractRequestHandler handler = new TestAbstractRequestHandler(server);
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',
+ plugin.Response response1 = new plugin.Response('1', 1);
+ plugin.Response response2 = new plugin.Response('2', 2,
error: new plugin.RequestError(
plugin.RequestErrorCode.PLUGIN_ERROR, 'message'));
Map<PluginInfo, Future<plugin.Response>> futures =
@@ -77,9 +77,9 @@ class AbstractRequestHandlerTest extends AbstractAnalysisTest {
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');
+ plugin.Response response1 = new plugin.Response('1', 1);
+ plugin.Response response2 = new plugin.Response('2', 2);
+ plugin.Response response3 = new plugin.Response('3', 3);
Map<PluginInfo, Future<plugin.Response>> futures =
<PluginInfo, Future<plugin.Response>>{
plugin1:
« 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