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

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

Issue 529123002: Make findElementReferences' "id" result optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/spec/generate_files". 7 // "pkg/analysis_server/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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 "search.findElementReferences params", { 409 "search.findElementReferences params", {
410 "file": isFilePath, 410 "file": isFilePath,
411 "offset": isInt, 411 "offset": isInt,
412 "includePotential": isBool 412 "includePotential": isBool
413 })); 413 }));
414 414
415 /** 415 /**
416 * search.findElementReferences result 416 * search.findElementReferences result
417 * 417 *
418 * { 418 * {
419 * "id": SearchId 419 * "id": optional SearchId
420 * "element": optional Element 420 * "element": optional Element
421 * } 421 * }
422 */ 422 */
423 final Matcher isSearchFindElementReferencesResult = new LazyMatcher(() => new Ma tchesJsonObject( 423 final Matcher isSearchFindElementReferencesResult = new LazyMatcher(() => new Ma tchesJsonObject(
424 "search.findElementReferences result", { 424 "search.findElementReferences result", null, optionalFields: {
425 "id": isSearchId 425 "id": isSearchId,
426 }, optionalFields: {
427 "element": isElement 426 "element": isElement
428 })); 427 }));
429 428
430 /** 429 /**
431 * search.findMemberDeclarations params 430 * search.findMemberDeclarations params
432 * 431 *
433 * { 432 * {
434 * "name": String 433 * "name": String
435 * } 434 * }
436 */ 435 */
(...skipping 1477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1914 * 1913 *
1915 * { 1914 * {
1916 * "newName": String 1915 * "newName": String
1917 * } 1916 * }
1918 */ 1917 */
1919 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1918 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1920 "rename options", { 1919 "rename options", {
1921 "newName": isString 1920 "newName": isString
1922 })); 1921 }));
1923 1922
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698