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

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

Issue 570453002: gracefully handle internal exceptions during request (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 53faaa346545f0bbfea9e11cf63a5e6b297e43c8..7e795058c301ae95d40a56d1dc4f42d1bca11219 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1641,6 +1641,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
* INVALID_PARAMETER
* INVALID_REQUEST
* SERVER_ALREADY_STARTED
+ * SERVER_ERROR
* UNANALYZED_PRIORITY_FILES
* UNKNOWN_REQUEST
* UNSUPPORTED_FEATURE
@@ -1652,6 +1653,7 @@ final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
"INVALID_PARAMETER",
"INVALID_REQUEST",
"SERVER_ALREADY_STARTED",
+ "SERVER_ERROR",
"UNANALYZED_PRIORITY_FILES",
"UNKNOWN_REQUEST",
"UNSUPPORTED_FEATURE"
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/socket_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698