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

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

Issue 537733002: Use typed RefactoringOptions in the Dart version of the protocol. (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 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 "RefactoringMethodParameter", { 1526 "RefactoringMethodParameter", {
1527 "kind": isRefactoringMethodParameterKind, 1527 "kind": isRefactoringMethodParameterKind,
1528 "type": isString, 1528 "type": isString,
1529 "name": isString 1529 "name": isString
1530 }, optionalFields: { 1530 }, optionalFields: {
1531 "id": isString, 1531 "id": isString,
1532 "parameters": isString 1532 "parameters": isString
1533 })); 1533 }));
1534 1534
1535 /** 1535 /**
1536 * RefactoringOptions
1537 *
1538 * {
1539 * }
1540 */
1541 final Matcher isRefactoringOptions = new LazyMatcher(() => new MatchesJsonObject (
1542 "RefactoringOptions", null));
1543
1544 /**
1536 * RefactoringMethodParameterKind 1545 * RefactoringMethodParameterKind
1537 * 1546 *
1538 * enum { 1547 * enum {
1539 * REQUIRED 1548 * REQUIRED
1540 * POSITIONAL 1549 * POSITIONAL
1541 * NAMED 1550 * NAMED
1542 * } 1551 * }
1543 */ 1552 */
1544 final Matcher isRefactoringMethodParameterKind = new MatchesEnum("RefactoringMet hodParameterKind", [ 1553 final Matcher isRefactoringMethodParameterKind = new MatchesEnum("RefactoringMet hodParameterKind", [
1545 "REQUIRED", 1554 "REQUIRED",
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 * 1922 *
1914 * { 1923 * {
1915 * "newName": String 1924 * "newName": String
1916 * } 1925 * }
1917 */ 1926 */
1918 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1927 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1919 "rename options", { 1928 "rename options", {
1920 "newName": isString 1929 "newName": isString
1921 })); 1930 }));
1922 1931
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698