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

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

Issue 1375163003: Specification change for the 'libraryName' and 'partOfLibraryName' fields in Outline. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: tweak Created 5 years, 3 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/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

Powered by Google App Engine
This is Rietveld 408576698