| Index: pkg/analyzer/test/src/task/dart_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart
|
| index a2628ce567da7bc3d8a8ed928334c943959efce0..069e5078fbbea4a1f9be8acc5863a08e55bb505c 100644
|
| --- a/pkg/analyzer/test/src/task/dart_test.dart
|
| +++ b/pkg/analyzer/test/src/task/dart_test.dart
|
| @@ -2315,6 +2315,19 @@ class ScanDartTaskTest extends _AbstractDartTaskTest {
|
|
|
| @reflectiveTest
|
| class VerifyUnitTaskTest extends _AbstractDartTaskTest {
|
| + test_perform_directiveError() {
|
| + Source source = newSource('/test.dart', '''
|
| +import 'no-such-file.dart';
|
| +''');
|
| + LibrarySpecificUnit target = new LibrarySpecificUnit(source, source);
|
| + _computeResult(target, VERIFY_ERRORS);
|
| + expect(task, new isInstanceOf<VerifyUnitTask>());
|
| + // validate
|
| + _fillErrorListener(VERIFY_ERRORS);
|
| + errorListener.assertErrorsWithCodes(
|
| + <ErrorCode>[CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
|
| + }
|
| +
|
| test_perform_verifyError() {
|
| Source source = newSource('/test.dart', '''
|
| main() {
|
|
|