Index: pkg/analysis_server/test/integration/protocol_matchers.dart |
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart |
index fed0c036d9ff6af410dd26b0e288d3d41289d4dc..2a0cd06185534ec25acc6dd21071ca3dffc25dd2 100644 |
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart |
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart |
@@ -153,6 +153,30 @@ final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb |
})); |
/** |
+ * analysis.getReachableSources params |
+ * |
+ * { |
+ * "file": FilePath |
+ * } |
+ */ |
+final Matcher isAnalysisGetReachableSourcesParams = new LazyMatcher(() => new MatchesJsonObject( |
+ "analysis.getReachableSources params", { |
+ "file": isFilePath |
+ })); |
+ |
+/** |
+ * analysis.getReachableSources result |
+ * |
+ * { |
+ * "sources": Map<String, List<String>> |
+ * } |
+ */ |
+final Matcher isAnalysisGetReachableSourcesResult = new LazyMatcher(() => new MatchesJsonObject( |
+ "analysis.getReachableSources result", { |
+ "sources": isMapOf(isString, isListOf(isString)) |
+ })); |
+ |
+/** |
* analysis.getLibraryDependencies params |
*/ |
final Matcher isAnalysisGetLibraryDependenciesParams = isNull; |
@@ -2077,6 +2101,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject( |
* FORMAT_WITH_ERRORS |
* GET_ERRORS_INVALID_FILE |
* GET_NAVIGATION_INVALID_FILE |
+ * GET_REACHABLE_SOURCES_INVALID_FILE |
* INVALID_ANALYSIS_ROOT |
* INVALID_EXECUTION_CONTEXT |
* INVALID_OVERLAY_CHANGE |
@@ -2102,6 +2127,7 @@ final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
"FORMAT_WITH_ERRORS", |
"GET_ERRORS_INVALID_FILE", |
"GET_NAVIGATION_INVALID_FILE", |
+ "GET_REACHABLE_SOURCES_INVALID_FILE", |
"INVALID_ANALYSIS_ROOT", |
"INVALID_EXECUTION_CONTEXT", |
"INVALID_OVERLAY_CHANGE", |