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

Side by Side Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 1491013002: Analysis request `getReachableSources` (#24893). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Matchers for data types defined in the analysis server API 10 * Matchers for data types defined in the analysis server API
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 * { 146 * {
147 * "hovers": List<HoverInformation> 147 * "hovers": List<HoverInformation>
148 * } 148 * }
149 */ 149 */
150 final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb ject( 150 final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb ject(
151 "analysis.getHover result", { 151 "analysis.getHover result", {
152 "hovers": isListOf(isHoverInformation) 152 "hovers": isListOf(isHoverInformation)
153 })); 153 }));
154 154
155 /** 155 /**
156 * analysis.getReachableSources params
157 *
158 * {
159 * "file": FilePath
160 * }
161 */
162 final Matcher isAnalysisGetReachableSourcesParams = new LazyMatcher(() => new Ma tchesJsonObject(
163 "analysis.getReachableSources params", {
164 "file": isFilePath
165 }));
166
167 /**
168 * analysis.getReachableSources result
169 *
170 * {
171 * "sources": Map<String, List<String>>
172 * }
173 */
174 final Matcher isAnalysisGetReachableSourcesResult = new LazyMatcher(() => new Ma tchesJsonObject(
175 "analysis.getReachableSources result", {
176 "sources": isMapOf(isString, isListOf(isString))
177 }));
178
179 /**
156 * analysis.getLibraryDependencies params 180 * analysis.getLibraryDependencies params
157 */ 181 */
158 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; 182 final Matcher isAnalysisGetLibraryDependenciesParams = isNull;
159 183
160 /** 184 /**
161 * analysis.getLibraryDependencies result 185 * analysis.getLibraryDependencies result
162 * 186 *
163 * { 187 * {
164 * "libraries": List<FilePath> 188 * "libraries": List<FilePath>
165 * "packageMap": Map<String, Map<String, List<FilePath>>> 189 * "packageMap": Map<String, Map<String, List<FilePath>>>
(...skipping 2283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 * 2473 *
2450 * { 2474 * {
2451 * "newName": String 2475 * "newName": String
2452 * } 2476 * }
2453 */ 2477 */
2454 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2478 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2455 "rename options", { 2479 "rename options", {
2456 "newName": isString 2480 "newName": isString
2457 })); 2481 }));
2458 2482
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698