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 4d2bc54e0cef3a4281d8c21f5e4b40cb1c2823b9..f69037d691cb8838daa9af2bb16d1b5202d0d946 100644 |
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart |
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart |
@@ -468,13 +468,18 @@ final Matcher isAnalysisOccurrencesParams = new LazyMatcher(() => new MatchesJso |
* |
* { |
* "file": FilePath |
+ * "kind": FileKind |
+ * "libraryName": optional String |
* "outline": Outline |
* } |
*/ |
final Matcher isAnalysisOutlineParams = new LazyMatcher(() => new MatchesJsonObject( |
"analysis.outline params", { |
"file": isFilePath, |
+ "kind": isFileKind, |
"outline": isOutline |
+ }, optionalFields: { |
+ "libraryName": isString |
})); |
/** |
@@ -1379,6 +1384,19 @@ final Matcher isExecutionService = new MatchesEnum("ExecutionService", [ |
]); |
/** |
+ * FileKind |
+ * |
+ * enum { |
+ * LIBRARY |
+ * PART |
+ * } |
+ */ |
+final Matcher isFileKind = new MatchesEnum("FileKind", [ |
+ "LIBRARY", |
+ "PART" |
+]); |
+ |
+/** |
* FilePath |
* |
* String |