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

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

Issue 587553002: API proposal for the MOVE_FILE refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add MoveFileOptions.java 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/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 1940 matching lines...) Expand 10 before | Expand all | Expand 10 after
1951 * "inlineAll": bool 1951 * "inlineAll": bool
1952 * } 1952 * }
1953 */ 1953 */
1954 final Matcher isInlineMethodOptions = new LazyMatcher(() => new MatchesJsonObjec t( 1954 final Matcher isInlineMethodOptions = new LazyMatcher(() => new MatchesJsonObjec t(
1955 "inlineMethod options", { 1955 "inlineMethod options", {
1956 "deleteSource": isBool, 1956 "deleteSource": isBool,
1957 "inlineAll": isBool 1957 "inlineAll": isBool
1958 })); 1958 }));
1959 1959
1960 /** 1960 /**
1961 * moveFile feedback
1962 */
1963 final Matcher isMoveFileFeedback = isNull;
1964
1965 /**
1966 * moveFile options
1967 *
1968 * {
1969 * "newFile": FilePath
1970 * }
1971 */
1972 final Matcher isMoveFileOptions = new LazyMatcher(() => new MatchesJsonObject(
1973 "moveFile options", {
1974 "newFile": isFilePath
1975 }));
1976
1977 /**
1961 * rename feedback 1978 * rename feedback
1962 * 1979 *
1963 * { 1980 * {
1964 * "offset": int 1981 * "offset": int
1965 * "length": int 1982 * "length": int
1966 * "elementKindName": String 1983 * "elementKindName": String
1967 * "oldName": String 1984 * "oldName": String
1968 * } 1985 * }
1969 */ 1986 */
1970 final Matcher isRenameFeedback = new LazyMatcher(() => new MatchesJsonObject( 1987 final Matcher isRenameFeedback = new LazyMatcher(() => new MatchesJsonObject(
1971 "rename feedback", { 1988 "rename feedback", {
1972 "offset": isInt, 1989 "offset": isInt,
1973 "length": isInt, 1990 "length": isInt,
1974 "elementKindName": isString, 1991 "elementKindName": isString,
1975 "oldName": isString 1992 "oldName": isString
1976 })); 1993 }));
1977 1994
1978 /** 1995 /**
1979 * rename options 1996 * rename options
1980 * 1997 *
1981 * { 1998 * {
1982 * "newName": String 1999 * "newName": String
1983 * } 2000 * }
1984 */ 2001 */
1985 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2002 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1986 "rename options", { 2003 "rename options", {
1987 "newName": isString 2004 "newName": isString
1988 })); 2005 }));
1989 2006
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698