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

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

Issue 530583004: Rename Error to RequestError in analysis server API. (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 e0cea8cd068186d4496d6128487043bfe79d4a8c..e69335284b35e86a52619935d7d357743e25356a 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1078,23 +1078,6 @@ final Matcher isElementKind = new MatchesEnum("ElementKind", [
]);
/**
- * Error
- *
- * {
- * "code": RequestErrorCode
- * "message": String
- * "data": optional object
- * }
- */
-final Matcher isError = new LazyMatcher(() => new MatchesJsonObject(
- "Error", {
- "code": isRequestErrorCode,
- "message": isString
- }, optionalFields: {
- "data": isObject
- }));
-
-/**
* ErrorFixes
*
* {
@@ -1612,6 +1595,23 @@ final Matcher isRemoveContentOverlay = new LazyMatcher(() => new MatchesJsonObje
}));
/**
+ * RequestError
+ *
+ * {
+ * "code": RequestErrorCode
+ * "message": String
+ * "data": optional object
+ * }
+ */
+final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
+ "RequestError", {
+ "code": isRequestErrorCode,
+ "message": isString
+ }, optionalFields: {
+ "data": isObject
+ }));
+
+/**
* RequestErrorCode
*
* enum {
« no previous file with comments | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | pkg/analysis_server/test/protocol_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698