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

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

Issue 2784673003: Add getStatementCompletion to the API spec (Closed)
Patch Set: Add experimental attribute Created 3 years, 9 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 5ba971d6d1c1351ba3c5f0f46eb936b75a3f271d..f7cac63019ddab5d3d7f7050091d32e7a42d732f 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -809,6 +809,30 @@ final Matcher isEditGetRefactoringResult =
}));
/**
+ * edit.getStatementCompletion params
+ *
+ * {
+ * "file": FilePath
+ * "offset": int
+ * }
+ */
+final Matcher isEditGetStatementCompletionParams = new LazyMatcher(() =>
+ new MatchesJsonObject("edit.getStatementCompletion params",
+ {"file": isFilePath, "offset": isInt}));
+
+/**
+ * edit.getStatementCompletion result
+ *
+ * {
+ * "change": SourceChange
+ * "whitespaceOnly": bool
+ * }
+ */
+final Matcher isEditGetStatementCompletionResult = new LazyMatcher(() =>
+ new MatchesJsonObject("edit.getStatementCompletion result",
+ {"change": isSourceChange, "whitespaceOnly": isBool}));
+
+/**
* edit.sortMembers params
*
* {

Powered by Google App Engine
This is Rietveld 408576698