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

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

Issue 1509033003: Promote `diagnostic.getDiagnostics()` (#25061). (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 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 ]); 1300 ]);
1301 1301
1302 /** 1302 /**
1303 * ContextData 1303 * ContextData
1304 * 1304 *
1305 * { 1305 * {
1306 * "name": String 1306 * "name": String
1307 * "explicitFileCount": int 1307 * "explicitFileCount": int
1308 * "implicitFileCount": int 1308 * "implicitFileCount": int
1309 * "workItemQueueLength": int 1309 * "workItemQueueLength": int
1310 * "workItemQueueLengthAverage": String
1311 * "cacheEntryExceptions": List<String> 1310 * "cacheEntryExceptions": List<String>
1312 * } 1311 * }
1313 */ 1312 */
1314 final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject( 1313 final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject(
1315 "ContextData", { 1314 "ContextData", {
1316 "name": isString, 1315 "name": isString,
1317 "explicitFileCount": isInt, 1316 "explicitFileCount": isInt,
1318 "implicitFileCount": isInt, 1317 "implicitFileCount": isInt,
1319 "workItemQueueLength": isInt, 1318 "workItemQueueLength": isInt,
1320 "workItemQueueLengthAverage": isString,
1321 "cacheEntryExceptions": isListOf(isString) 1319 "cacheEntryExceptions": isListOf(isString)
1322 })); 1320 }));
1323 1321
1324 /** 1322 /**
1325 * Element 1323 * Element
1326 * 1324 *
1327 * { 1325 * {
1328 * "kind": ElementKind 1326 * "kind": ElementKind
1329 * "name": String 1327 * "name": String
1330 * "location": optional Location 1328 * "location": optional Location
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2475 * 2473 *
2476 * { 2474 * {
2477 * "newName": String 2475 * "newName": String
2478 * } 2476 * }
2479 */ 2477 */
2480 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2478 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2481 "rename options", { 2479 "rename options", {
2482 "newName": isString 2480 "newName": isString
2483 })); 2481 }));
2484 2482
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698