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

Unified Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 551963002: Add feedback for INLINE_METHOD refactoring. (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 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 e7e180e89050832cd2741a16cde2b2569c5def58..c6fdc8300f8fc8c6b5f714f6ab444c5ce33dff58 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1906,8 +1906,20 @@ final Matcher isInlineLocalVariableOptions = isNull;
/**
* inlineMethod feedback
+ *
+ * {
+ * "className": optional String
+ * "methodName": String
+ * "isDeclaration": bool
+ * }
*/
-final Matcher isInlineMethodFeedback = isNull;
+final Matcher isInlineMethodFeedback = new LazyMatcher(() => new MatchesJsonObject(
+ "inlineMethod feedback", {
+ "methodName": isString,
+ "isDeclaration": isBool
+ }, optionalFields: {
+ "className": isString
+ }));
/**
* inlineMethod options

Powered by Google App Engine
This is Rietveld 408576698