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

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

Issue 496113002: Make RefactoringProblem.location optional. (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 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 "POSITIONAL", 1564 "POSITIONAL",
1565 "NAMED" 1565 "NAMED"
1566 ]); 1566 ]);
1567 1567
1568 /** 1568 /**
1569 * RefactoringProblem 1569 * RefactoringProblem
1570 * 1570 *
1571 * { 1571 * {
1572 * "severity": RefactoringProblemSeverity 1572 * "severity": RefactoringProblemSeverity
1573 * "message": String 1573 * "message": String
1574 * "location": Location 1574 * "location": optional Location
1575 * } 1575 * }
1576 */ 1576 */
1577 final Matcher isRefactoringProblem = new LazyMatcher(() => new MatchesJsonObject ( 1577 final Matcher isRefactoringProblem = new LazyMatcher(() => new MatchesJsonObject (
1578 "RefactoringProblem", { 1578 "RefactoringProblem", {
1579 "severity": isRefactoringProblemSeverity, 1579 "severity": isRefactoringProblemSeverity,
1580 "message": isString, 1580 "message": isString
1581 }, optionalFields: {
1581 "location": isLocation 1582 "location": isLocation
1582 })); 1583 }));
1583 1584
1584 /** 1585 /**
1585 * RefactoringProblemSeverity 1586 * RefactoringProblemSeverity
1586 * 1587 *
1587 * enum { 1588 * enum {
1588 * INFO 1589 * INFO
1589 * WARNING 1590 * WARNING
1590 * ERROR 1591 * ERROR
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1892 * 1893 *
1893 * { 1894 * {
1894 * "newName": String 1895 * "newName": String
1895 * } 1896 * }
1896 */ 1897 */
1897 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1898 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1898 "rename options", { 1899 "rename options", {
1899 "newName": isString 1900 "newName": isString
1900 })); 1901 }));
1901 1902
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.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