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

Unified Diff: pkg/analysis_server/test/integration/integration_test_methods.dart

Issue 943723002: Return version with connected notification (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Touched missed Java files Created 5 years, 10 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/integration/integration_test_methods.dart
diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
index f49ae4ac84bad7db93400e33a06eabaa35b7c242..86879e6aabf8a4082e8a243e00b811515f68555e 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -87,6 +87,12 @@ abstract class IntegrationTestMixin {
* let the client know that it started correctly.
*
* It is not possible to subscribe to or unsubscribe from this notification.
+ *
+ * Parameters
+ *
+ * version ( String )
+ *
+ * The version number of the analysis server.
*/
Stream<ServerConnectedParams> onServerConnected;
@@ -1531,7 +1537,7 @@ abstract class IntegrationTestMixin {
switch (event) {
case "server.connected":
expect(params, isServerConnectedParams);
- _onServerConnected.add(new ServerConnectedParams());
+ _onServerConnected.add(new ServerConnectedParams.fromJson(decoder, 'params', params));
break;
case "server.error":
expect(params, isServerErrorParams);
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698