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 7f2f3abcb0cc9bfaa0817ca02019c27d56ce3a69..e8e98a6f8cd674638b50bfd5de57efde2364cd59 100644 |
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart |
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart |
@@ -1053,6 +1053,23 @@ final Matcher isDiagnosticGetDiagnosticsResult = new LazyMatcher(() => new Match |
})); |
/** |
+ * diagnostic.getServerPort params |
+ */ |
+final Matcher isDiagnosticGetServerPortParams = isNull; |
+ |
+/** |
+ * diagnostic.getServerPort result |
+ * |
+ * { |
+ * "port": int |
+ * } |
+ */ |
+final Matcher isDiagnosticGetServerPortResult = new LazyMatcher(() => new MatchesJsonObject( |
+ "diagnostic.getServerPort result", { |
+ "port": isInt |
+ })); |
+ |
+/** |
* AddContentOverlay |
* |
* { |
@@ -2118,6 +2135,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject( |
* NO_INDEX_GENERATED |
* ORGANIZE_DIRECTIVES_ERROR |
* REFACTORING_REQUEST_CANCELLED |
+ * ERROR_HANDLING_REQUEST |
* SERVER_ALREADY_STARTED |
* SERVER_ERROR |
* SORT_MEMBERS_INVALID_FILE |
@@ -2145,6 +2163,7 @@ final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
"NO_INDEX_GENERATED", |
"ORGANIZE_DIRECTIVES_ERROR", |
"REFACTORING_REQUEST_CANCELLED", |
+ "ERROR_HANDLING_REQUEST", |
"SERVER_ALREADY_STARTED", |
"SERVER_ERROR", |
"SORT_MEMBERS_INVALID_FILE", |