| 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 8b02ae3b7557e1bf02464d596c693b9fbb3f6c77..3dd037e30bc0c202cd41a6c8e162df6a2c5bb9d2 100644
|
| --- a/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| +++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| @@ -144,6 +144,38 @@ final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb
|
| }));
|
|
|
| /**
|
| + * analysis.getNavigation params
|
| + *
|
| + * {
|
| + * "file": FilePath
|
| + * "start": int
|
| + * "end": int
|
| + * }
|
| + */
|
| +final Matcher isAnalysisGetNavigationParams = new LazyMatcher(() => new MatchesJsonObject(
|
| + "analysis.getNavigation params", {
|
| + "file": isFilePath,
|
| + "start": isInt,
|
| + "end": isInt
|
| + }));
|
| +
|
| +/**
|
| + * analysis.getNavigation result
|
| + *
|
| + * {
|
| + * "files": List<FilePath>
|
| + * "targets": List<NavigationTarget>
|
| + * "regions": List<NavigationRegion>
|
| + * }
|
| + */
|
| +final Matcher isAnalysisGetNavigationResult = new LazyMatcher(() => new MatchesJsonObject(
|
| + "analysis.getNavigation result", {
|
| + "files": isListOf(isFilePath),
|
| + "targets": isListOf(isNavigationTarget),
|
| + "regions": isListOf(isNavigationRegion)
|
| + }));
|
| +
|
| +/**
|
| * analysis.reanalyze params
|
| */
|
| final Matcher isAnalysisReanalyzeParams = isNull;
|
| @@ -298,6 +330,24 @@ final Matcher isAnalysisHighlightsParams = new LazyMatcher(() => new MatchesJson
|
| }));
|
|
|
| /**
|
| + * analysis.invalidate params
|
| + *
|
| + * {
|
| + * "file": FilePath
|
| + * "start": int
|
| + * "end": int
|
| + * "delta": int
|
| + * }
|
| + */
|
| +final Matcher isAnalysisInvalidateParams = new LazyMatcher(() => new MatchesJsonObject(
|
| + "analysis.invalidate params", {
|
| + "file": isFilePath,
|
| + "start": isInt,
|
| + "end": isInt,
|
| + "delta": isInt
|
| + }));
|
| +
|
| +/**
|
| * analysis.navigation params
|
| *
|
| * {
|
| @@ -922,6 +972,7 @@ final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject(
|
| * enum {
|
| * FOLDING
|
| * HIGHLIGHTS
|
| + * INVALIDATE
|
| * NAVIGATION
|
| * OCCURRENCES
|
| * OUTLINE
|
| @@ -931,6 +982,7 @@ final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject(
|
| final Matcher isAnalysisService = new MatchesEnum("AnalysisService", [
|
| "FOLDING",
|
| "HIGHLIGHTS",
|
| + "INVALIDATE",
|
| "NAVIGATION",
|
| "OCCURRENCES",
|
| "OUTLINE",
|
|
|