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

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

Issue 545943003: Include additional information into RenameFeedback. (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 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1911 "deleteSource": isBool, 1911 "deleteSource": isBool,
1912 "inlineAll": isBool 1912 "inlineAll": isBool
1913 })); 1913 }));
1914 1914
1915 /** 1915 /**
1916 * rename feedback 1916 * rename feedback
1917 * 1917 *
1918 * { 1918 * {
1919 * "offset": int 1919 * "offset": int
1920 * "length": int 1920 * "length": int
1921 * "elementKindName": String
1922 * "oldName": String
1921 * } 1923 * }
1922 */ 1924 */
1923 final Matcher isRenameFeedback = new LazyMatcher(() => new MatchesJsonObject( 1925 final Matcher isRenameFeedback = new LazyMatcher(() => new MatchesJsonObject(
1924 "rename feedback", { 1926 "rename feedback", {
1925 "offset": isInt, 1927 "offset": isInt,
1926 "length": isInt 1928 "length": isInt,
1929 "elementKindName": isString,
1930 "oldName": isString
1927 })); 1931 }));
1928 1932
1929 /** 1933 /**
1930 * rename options 1934 * rename options
1931 * 1935 *
1932 * { 1936 * {
1933 * "newName": String 1937 * "newName": String
1934 * } 1938 * }
1935 */ 1939 */
1936 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1940 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1937 "rename options", { 1941 "rename options", {
1938 "newName": isString 1942 "newName": isString
1939 })); 1943 }));
1940 1944
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698