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

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

Issue 874373003: Library dependencies server API updates (to pass package maps). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 /** 148 /**
149 * analysis.getLibraryDependencies params 149 * analysis.getLibraryDependencies params
150 */ 150 */
151 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; 151 final Matcher isAnalysisGetLibraryDependenciesParams = isNull;
152 152
153 /** 153 /**
154 * analysis.getLibraryDependencies result 154 * analysis.getLibraryDependencies result
155 * 155 *
156 * { 156 * {
157 * "libraries": List<FilePath> 157 * "libraries": List<FilePath>
158 * "packageMap": Map<String, Map<String, List<FilePath>>>
158 * } 159 * }
159 */ 160 */
160 final Matcher isAnalysisGetLibraryDependenciesResult = new LazyMatcher(() => new MatchesJsonObject( 161 final Matcher isAnalysisGetLibraryDependenciesResult = new LazyMatcher(() => new MatchesJsonObject(
161 "analysis.getLibraryDependencies result", { 162 "analysis.getLibraryDependencies result", {
162 "libraries": isListOf(isFilePath) 163 "libraries": isListOf(isFilePath),
164 "packageMap": isMapOf(isString, isMapOf(isString, isListOf(isFilePath)))
163 })); 165 }));
164 166
165 /** 167 /**
166 * analysis.getNavigation params 168 * analysis.getNavigation params
167 * 169 *
168 * { 170 * {
169 * "file": FilePath 171 * "file": FilePath
170 * "offset": int 172 * "offset": int
171 * "length": int 173 * "length": int
172 * } 174 * }
(...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after
2149 * 2151 *
2150 * { 2152 * {
2151 * "newName": String 2153 * "newName": String
2152 * } 2154 * }
2153 */ 2155 */
2154 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2156 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2155 "rename options", { 2157 "rename options", {
2156 "newName": isString 2158 "newName": isString
2157 })); 2159 }));
2158 2160
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698