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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index 7b855437c925159e1c785f41bafd1b17c0a50661..7443db940c50167b593639c73e067a9c97dd5935 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1571,13 +1571,14 @@ final Matcher isRefactoringMethodParameterKind = new MatchesEnum("RefactoringMet
* {
* "severity": RefactoringProblemSeverity
* "message": String
- * "location": Location
+ * "location": optional Location
* }
*/
final Matcher isRefactoringProblem = new LazyMatcher(() => new MatchesJsonObject(
"RefactoringProblem", {
"severity": isRefactoringProblemSeverity,
- "message": isString,
+ "message": isString
+ }, optionalFields: {
"location": isLocation
}));
« 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