| 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 3bd16da6d047b06bf27647c815b66589cfa2f297..291e8b093f85fd98f6bfc3ffd2beae4ffd7afaa9 100644
|
| --- a/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| +++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| @@ -1007,6 +1007,23 @@ final Matcher isExecutionLaunchDataParams = new LazyMatcher(() => new MatchesJso
|
| }));
|
|
|
| /**
|
| + * experimental.getDiagnostics params
|
| + */
|
| +final Matcher isExperimentalGetDiagnosticsParams = isNull;
|
| +
|
| +/**
|
| + * experimental.getDiagnostics result
|
| + *
|
| + * {
|
| + * "contexts": List<ContextData>
|
| + * }
|
| + */
|
| +final Matcher isExperimentalGetDiagnosticsResult = new LazyMatcher(() => new MatchesJsonObject(
|
| + "experimental.getDiagnostics result", {
|
| + "contexts": isListOf(isContextData)
|
| + }));
|
| +
|
| +/**
|
| * AddContentOverlay
|
| *
|
| * {
|
| @@ -1259,6 +1276,26 @@ final Matcher isCompletionSuggestionKind = new MatchesEnum("CompletionSuggestion
|
| ]);
|
|
|
| /**
|
| + * ContextData
|
| + *
|
| + * {
|
| + * "name": String
|
| + * "explicitFileCount": int
|
| + * "implicitFileCount": int
|
| + * "workItemQueueLength": int
|
| + * "cacheEntryExceptions": List<String>
|
| + * }
|
| + */
|
| +final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject(
|
| + "ContextData", {
|
| + "name": isString,
|
| + "explicitFileCount": isInt,
|
| + "implicitFileCount": isInt,
|
| + "workItemQueueLength": isInt,
|
| + "cacheEntryExceptions": isListOf(isString)
|
| + }));
|
| +
|
| +/**
|
| * Element
|
| *
|
| * {
|
|
|