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

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

Issue 495273002: Rename 'getRefactoring.return.status' to 'problems'. (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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 "length": isInt, 643 "length": isInt,
644 "validateOnly": isBool 644 "validateOnly": isBool
645 }, optionalFields: { 645 }, optionalFields: {
646 "options": isObject 646 "options": isObject
647 })); 647 }));
648 648
649 /** 649 /**
650 * edit.getRefactoring result 650 * edit.getRefactoring result
651 * 651 *
652 * { 652 * {
653 * "status": List<RefactoringProblem> 653 * "problems": List<RefactoringProblem>
654 * "feedback": optional object 654 * "feedback": optional object
655 * "change": optional SourceChange 655 * "change": optional SourceChange
656 * "potentialEdits": optional List<String> 656 * "potentialEdits": optional List<String>
657 * } 657 * }
658 */ 658 */
659 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson Object( 659 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson Object(
660 "edit.getRefactoring result", { 660 "edit.getRefactoring result", {
661 "status": isListOf(isRefactoringProblem) 661 "problems": isListOf(isRefactoringProblem)
662 }, optionalFields: { 662 }, optionalFields: {
663 "feedback": isObject, 663 "feedback": isObject,
664 "change": isSourceChange, 664 "change": isSourceChange,
665 "potentialEdits": isListOf(isString) 665 "potentialEdits": isListOf(isString)
666 })); 666 }));
667 667
668 /** 668 /**
669 * debug.createContext params 669 * debug.createContext params
670 * 670 *
671 * { 671 * {
(...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 * 1893 *
1894 * { 1894 * {
1895 * "newName": String 1895 * "newName": String
1896 * } 1896 * }
1897 */ 1897 */
1898 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1898 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1899 "rename options", { 1899 "rename options", {
1900 "newName": isString 1900 "newName": isString
1901 })); 1901 }));
1902 1902
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