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

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

Issue 607813003: Use a separate request for 'Sort members' feature, not a 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 c7969f4ac0de93607ec16e3448be924a00c9a031..3f135d49cb539fef39513992fc1797f9e40fed83 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -669,6 +669,30 @@ final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
}));
/**
+ * edit.sortMembers params
+ *
+ * {
+ * "file": FilePath
+ * }
+ */
+final Matcher isEditSortMembersParams = new LazyMatcher(() => new MatchesJsonObject(
+ "edit.sortMembers params", {
+ "file": isFilePath
+ }));
+
+/**
+ * edit.sortMembers result
+ *
+ * {
+ * "edit": SourceFileEdit
+ * }
+ */
+final Matcher isEditSortMembersResult = new LazyMatcher(() => new MatchesJsonObject(
+ "edit.sortMembers result", {
+ "edit": isSourceFileEdit
+ }));
+
+/**
* execution.createContext params
*
* {
@@ -2011,13 +2035,3 @@ final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
"newName": isString
}));
-/**
- * sortMembers feedback
- */
-final Matcher isSortMembersFeedback = isNull;
-
-/**
- * sortMembers options
- */
-final Matcher isSortMembersOptions = isNull;
-

Powered by Google App Engine
This is Rietveld 408576698