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

Unified 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: Update also Java generator 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 side-by-side diff with in-line comments
Download patch
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 f27f5483cdd1b5c36b2f900d28bd1054e5a8853b..af09308bee05c35b343c64e3263f051c8bd91477 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -631,7 +631,7 @@ final Matcher isEditGetFixesResult = new LazyMatcher(() => new MatchesJsonObject
* "offset": int
* "length": int
* "validateOnly": bool
- * "options": optional object
+ * "options": optional RefactoringOptions
* }
*/
final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJsonObject(
@@ -642,7 +642,7 @@ final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJson
"length": isInt,
"validateOnly": isBool
}, optionalFields: {
- "options": isObject
+ "options": isRefactoringOptions
}));
/**
@@ -1533,6 +1533,15 @@ final Matcher isRefactoringMethodParameter = new LazyMatcher(() => new MatchesJs
}));
/**
+ * RefactoringOptions
+ *
+ * {
+ * }
+ */
+final Matcher isRefactoringOptions = new LazyMatcher(() => new MatchesJsonObject(
+ "RefactoringOptions", null));
+
+/**
* RefactoringMethodParameterKind
*
* enum {

Powered by Google App Engine
This is Rietveld 408576698