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/operation/operation_analysis_test.dart

Issue 402493002: Remove 'errorCode' field from AnalysisError in the analysis server API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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
« no previous file with comments | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/operation/operation_analysis_test.dart
diff --git a/pkg/analysis_server/test/operation/operation_analysis_test.dart b/pkg/analysis_server/test/operation/operation_analysis_test.dart
index c5f5378474ab351b904319413fc08773a55f2a1f..aad71478472f19188e67122040082bd25d2d7de8 100644
--- a/pkg/analysis_server/test/operation/operation_analysis_test.dart
+++ b/pkg/analysis_server/test/operation/operation_analysis_test.dart
@@ -56,7 +56,6 @@ class Test_errorToJson {
void test_noCorrection() {
Map<String, Object> json = errorToJson(lineInfo, analysisError);
expect(json, {
- ERROR_CODE: 'CompileTimeErrorCode.AMBIGUOUS_EXPORT',
SEVERITY: 'ERROR',
TYPE: 'COMPILE_TIME_ERROR',
LOCATION: {
@@ -73,7 +72,6 @@ class Test_errorToJson {
void test_noLineInfo() {
Map<String, Object> json = errorToJson(null, analysisError);
expect(json, {
- ERROR_CODE: 'CompileTimeErrorCode.AMBIGUOUS_EXPORT',
SEVERITY: 'ERROR',
TYPE: 'COMPILE_TIME_ERROR',
LOCATION: {
@@ -89,7 +87,6 @@ class Test_errorToJson {
when(analysisError.correction).thenReturn('my correction');
Map<String, Object> json = errorToJson(lineInfo, analysisError);
expect(json, {
- ERROR_CODE: 'CompileTimeErrorCode.AMBIGUOUS_EXPORT',
SEVERITY: 'ERROR',
TYPE: 'COMPILE_TIME_ERROR',
LOCATION: {
« no previous file with comments | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698