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

Side by Side Diff: pkg/analysis_server/test/analysis/notification_errors_test.dart

Issue 2939723002: Clean up some hints (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/correction/assist_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analysis_server/protocol/protocol.dart'; 5 import 'package:analysis_server/protocol/protocol.dart';
6 import 'package:analysis_server/protocol/protocol_generated.dart'; 6 import 'package:analysis_server/protocol/protocol_generated.dart';
7 import 'package:analysis_server/src/constants.dart'; 7 import 'package:analysis_server/src/constants.dart';
8 import 'package:analysis_server/src/context_manager.dart'; 8 import 'package:analysis_server/src/context_manager.dart';
9 import 'package:analysis_server/src/domain_analysis.dart'; 9 import 'package:analysis_server/src/domain_analysis.dart';
10 import 'package:analyzer/src/dart/analysis/driver.dart'; 10 import 'package:analyzer/src/dart/analysis/driver.dart';
11 import 'package:analyzer/src/generated/engine.dart';
12 import 'package:analyzer/src/lint/linter.dart'; 11 import 'package:analyzer/src/lint/linter.dart';
13 import 'package:analyzer/src/services/lint.dart'; 12 import 'package:analyzer/src/services/lint.dart';
14 import 'package:analyzer_plugin/protocol/protocol_common.dart'; 13 import 'package:analyzer_plugin/protocol/protocol_common.dart';
15 import 'package:linter/src/rules.dart'; 14 import 'package:linter/src/rules.dart';
16 import 'package:test/test.dart'; 15 import 'package:test/test.dart';
17 import 'package:test_reflective_loader/test_reflective_loader.dart'; 16 import 'package:test_reflective_loader/test_reflective_loader.dart';
18 17
19 import '../analysis_abstract.dart'; 18 import '../analysis_abstract.dart';
20 import '../mocks.dart'; 19 import '../mocks.dart';
21 20
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 '''); 139 ''');
141 await waitForTasksFinished(); 140 await waitForTasksFinished();
142 await pumpEventQueue(); 141 await pumpEventQueue();
143 List<AnalysisError> errors = filesErrors[testFile]; 142 List<AnalysisError> errors = filesErrors[testFile];
144 expect(errors, hasLength(1)); 143 expect(errors, hasLength(1));
145 AnalysisError error = errors[0]; 144 AnalysisError error = errors[0];
146 expect(error.severity, AnalysisErrorSeverity.WARNING); 145 expect(error.severity, AnalysisErrorSeverity.WARNING);
147 expect(error.type, AnalysisErrorType.STATIC_WARNING); 146 expect(error.type, AnalysisErrorType.STATIC_WARNING);
148 } 147 }
149 } 148 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/correction/assist_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698