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

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

Issue 484313002: Make search.findElementReferences.result.element field optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
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": SearchId
420 * "element": 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", {
425 "id": isSearchId, 425 "id": isSearchId
426 }, optionalFields: {
426 "element": isElement 427 "element": isElement
427 })); 428 }));
428 429
429 /** 430 /**
430 * search.findMemberDeclarations params 431 * search.findMemberDeclarations params
431 * 432 *
432 * { 433 * {
433 * "name": String 434 * "name": String
434 * } 435 * }
435 */ 436 */
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 * 1890 *
1890 * { 1891 * {
1891 * "newName": String 1892 * "newName": String
1892 * } 1893 * }
1893 */ 1894 */
1894 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1895 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1895 "rename options", { 1896 "rename options", {
1896 "newName": isString 1897 "newName": isString
1897 })); 1898 }));
1898 1899
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698