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 f6aa68d4a8981044b6745f1f76b69ea5771817a5..836f884ea943595032654cd1556816550514fe40 100644 |
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart |
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart |
@@ -689,6 +689,35 @@ abstract class IntegrationTestMixin { |
StreamController<AnalysisHighlightsParams> _onAnalysisHighlights; |
/** |
+ * Reports the classes that are implemented or extended and class members |
+ * that are implemented or overridden in a file. |
+ * |
+ * This notification is not subscribed to by default. Clients can subscribe |
+ * by including the value "IMPLEMENTED" in the list of services passed in an |
+ * analysis.setSubscriptions request. |
+ * |
+ * Parameters |
+ * |
+ * file ( FilePath ) |
+ * |
+ * The file with which the implementations are associated. |
+ * |
+ * classes ( List<ImplementedClass> ) |
+ * |
+ * The classes defined in the file that are implemented or extended. |
+ * |
+ * members ( List<ImplementedMember> ) |
+ * |
+ * The member defined in the file that are implemented or overridden. |
+ */ |
+ Stream<AnalysisImplementedParams> onAnalysisImplemented; |
+ |
+ /** |
+ * Stream controller for [onAnalysisImplemented]. |
+ */ |
+ StreamController<AnalysisImplementedParams> _onAnalysisImplemented; |
+ |
+ /** |
* Reports that the navigation information associated with a region of a |
* single file has become invalid and should be re-requested. |
* |
@@ -1607,6 +1636,8 @@ abstract class IntegrationTestMixin { |
onAnalysisFolding = _onAnalysisFolding.stream.asBroadcastStream(); |
_onAnalysisHighlights = new StreamController<AnalysisHighlightsParams>(sync: true); |
onAnalysisHighlights = _onAnalysisHighlights.stream.asBroadcastStream(); |
+ _onAnalysisImplemented = new StreamController<AnalysisImplementedParams>(sync: true); |
+ onAnalysisImplemented = _onAnalysisImplemented.stream.asBroadcastStream(); |
_onAnalysisInvalidate = new StreamController<AnalysisInvalidateParams>(sync: true); |
onAnalysisInvalidate = _onAnalysisInvalidate.stream.asBroadcastStream(); |
_onAnalysisNavigation = new StreamController<AnalysisNavigationParams>(sync: true); |
@@ -1664,6 +1695,10 @@ abstract class IntegrationTestMixin { |
expect(params, isAnalysisHighlightsParams); |
_onAnalysisHighlights.add(new AnalysisHighlightsParams.fromJson(decoder, 'params', params)); |
break; |
+ case "analysis.implemented": |
+ expect(params, isAnalysisImplementedParams); |
+ _onAnalysisImplemented.add(new AnalysisImplementedParams.fromJson(decoder, 'params', params)); |
+ break; |
case "analysis.invalidate": |
expect(params, isAnalysisInvalidateParams); |
_onAnalysisInvalidate.add(new AnalysisInvalidateParams.fromJson(decoder, 'params', params)); |