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

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

Issue 607813003: Use a separate request for 'Sort members' feature, not a refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 "initialProblems": isListOf(isRefactoringProblem), 662 "initialProblems": isListOf(isRefactoringProblem),
663 "optionsProblems": isListOf(isRefactoringProblem), 663 "optionsProblems": isListOf(isRefactoringProblem),
664 "finalProblems": isListOf(isRefactoringProblem) 664 "finalProblems": isListOf(isRefactoringProblem)
665 }, optionalFields: { 665 }, optionalFields: {
666 "feedback": isRefactoringFeedback, 666 "feedback": isRefactoringFeedback,
667 "change": isSourceChange, 667 "change": isSourceChange,
668 "potentialEdits": isListOf(isString) 668 "potentialEdits": isListOf(isString)
669 })); 669 }));
670 670
671 /** 671 /**
672 * edit.sortMembers params
673 *
674 * {
675 * "file": FilePath
676 * }
677 */
678 final Matcher isEditSortMembersParams = new LazyMatcher(() => new MatchesJsonObj ect(
679 "edit.sortMembers params", {
680 "file": isFilePath
681 }));
682
683 /**
684 * edit.sortMembers result
685 *
686 * {
687 * "edit": SourceFileEdit
688 * }
689 */
690 final Matcher isEditSortMembersResult = new LazyMatcher(() => new MatchesJsonObj ect(
691 "edit.sortMembers result", {
692 "edit": isSourceFileEdit
693 }));
694
695 /**
672 * execution.createContext params 696 * execution.createContext params
673 * 697 *
674 * { 698 * {
675 * "contextRoot": FilePath 699 * "contextRoot": FilePath
676 * } 700 * }
677 */ 701 */
678 final Matcher isExecutionCreateContextParams = new LazyMatcher(() => new Matches JsonObject( 702 final Matcher isExecutionCreateContextParams = new LazyMatcher(() => new Matches JsonObject(
679 "execution.createContext params", { 703 "execution.createContext params", {
680 "contextRoot": isFilePath 704 "contextRoot": isFilePath
681 })); 705 }));
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 * 2028 *
2005 * { 2029 * {
2006 * "newName": String 2030 * "newName": String
2007 * } 2031 * }
2008 */ 2032 */
2009 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2033 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2010 "rename options", { 2034 "rename options", {
2011 "newName": isString 2035 "newName": isString
2012 })); 2036 }));
2013 2037
2014 /**
2015 * sortMembers feedback
2016 */
2017 final Matcher isSortMembersFeedback = isNull;
2018
2019 /**
2020 * sortMembers options
2021 */
2022 final Matcher isSortMembersOptions = isNull;
2023
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698