| Index: pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| diff --git a/pkg/analysis_server/test/integration/support/protocol_matchers.dart b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| index 4d455590cab5f422b4f9d6e323625e09c0db5235..902a6a58e371ed2425aa1be90335d0525c96068b 100644
|
| --- a/pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| +++ b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| @@ -711,6 +711,46 @@ final Matcher isImportedElements = new LazyMatcher(() => new MatchesJsonObject(
|
| "ImportedElements",
|
| {"path": isFilePath, "prefix": isString, "elements": isListOf(isString)}));
|
|
|
| +/**
|
| + * KytheEntry
|
| + *
|
| + * {
|
| + * "source": KytheVName
|
| + * "kind": String
|
| + * "target": KytheVName
|
| + * "fact": String
|
| + * "value": List<int>
|
| + * }
|
| + */
|
| +final Matcher isKytheEntry =
|
| + new LazyMatcher(() => new MatchesJsonObject("KytheEntry", {
|
| + "source": isKytheVName,
|
| + "kind": isString,
|
| + "target": isKytheVName,
|
| + "fact": isString,
|
| + "value": isListOf(isInt)
|
| + }));
|
| +
|
| +/**
|
| + * KytheVName
|
| + *
|
| + * {
|
| + * "signature": String
|
| + * "corpus": String
|
| + * "root": String
|
| + * "path": String
|
| + * "language": String
|
| + * }
|
| + */
|
| +final Matcher isKytheVName =
|
| + new LazyMatcher(() => new MatchesJsonObject("KytheVName", {
|
| + "signature": isString,
|
| + "corpus": isString,
|
| + "root": isString,
|
| + "path": isString,
|
| + "language": isString
|
| + }));
|
| +
|
| /**
|
| * LinkedEditGroup
|
| *
|
| @@ -2318,6 +2358,29 @@ final Matcher isInlineMethodOptions = new LazyMatcher(() =>
|
| new MatchesJsonObject(
|
| "inlineMethod options", {"deleteSource": isBool, "inlineAll": isBool}));
|
|
|
| +/**
|
| + * kythe.getKytheEntries params
|
| + *
|
| + * {
|
| + * "file": FilePath
|
| + * }
|
| + */
|
| +final Matcher isKytheGetKytheEntriesParams = new LazyMatcher(() =>
|
| + new MatchesJsonObject(
|
| + "kythe.getKytheEntries params", {"file": isFilePath}));
|
| +
|
| +/**
|
| + * kythe.getKytheEntries result
|
| + *
|
| + * {
|
| + * "entries": List<KytheEntry>
|
| + * "files": List<FilePath>
|
| + * }
|
| + */
|
| +final Matcher isKytheGetKytheEntriesResult = new LazyMatcher(() =>
|
| + new MatchesJsonObject("kythe.getKytheEntries result",
|
| + {"entries": isListOf(isKytheEntry), "files": isListOf(isFilePath)}));
|
| +
|
| /**
|
| * moveFile feedback
|
| */
|
|
|