| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library test.src.task.dart_work_manager_test; | 5 library test.src.task.dart_work_manager_test; |
| 6 | 6 |
| 7 import 'package:analyzer/src/context/cache.dart'; | 7 import 'package:analyzer/src/context/cache.dart'; |
| 8 import 'package:analyzer/src/generated/ast.dart'; | 8 import 'package:analyzer/src/generated/ast.dart'; |
| 9 import 'package:analyzer/src/generated/engine.dart' | 9 import 'package:analyzer/src/generated/engine.dart' |
| 10 show | 10 show |
| 11 AnalysisErrorInfo, | 11 AnalysisErrorInfo, |
| 12 AnalysisErrorInfoImpl, | 12 AnalysisErrorInfoImpl, |
| 13 CacheState, | 13 CacheState, |
| 14 ChangeNoticeImpl, | 14 ChangeNoticeImpl, |
| 15 InternalAnalysisContext; | 15 InternalAnalysisContext; |
| 16 import 'package:analyzer/src/generated/error.dart' show AnalysisError; | 16 import 'package:analyzer/src/generated/error.dart' show AnalysisError; |
| 17 import 'package:analyzer/src/generated/java_engine.dart' show CaughtException; | 17 import 'package:analyzer/src/generated/java_engine.dart' show CaughtException; |
| 18 import 'package:analyzer/src/generated/scanner.dart' show ScannerErrorCode; | 18 import 'package:analyzer/src/generated/scanner.dart' show ScannerErrorCode; |
| 19 import 'package:analyzer/src/generated/source.dart'; | 19 import 'package:analyzer/src/generated/source.dart'; |
| 20 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 20 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
| 21 import 'package:analyzer/src/task/dart.dart'; | 21 import 'package:analyzer/src/task/dart.dart'; |
| 22 import 'package:analyzer/src/task/dart_work_manager.dart'; | 22 import 'package:analyzer/src/task/dart_work_manager.dart'; |
| 23 import 'package:analyzer/src/task/driver.dart'; | |
| 24 import 'package:analyzer/task/dart.dart'; | 23 import 'package:analyzer/task/dart.dart'; |
| 25 import 'package:analyzer/task/general.dart'; | 24 import 'package:analyzer/task/general.dart'; |
| 26 import 'package:analyzer/task/model.dart'; | 25 import 'package:analyzer/task/model.dart'; |
| 27 import 'package:typed_mock/typed_mock.dart'; | 26 import 'package:typed_mock/typed_mock.dart'; |
| 28 import 'package:unittest/unittest.dart'; | 27 import 'package:unittest/unittest.dart'; |
| 29 | 28 |
| 30 import '../../generated/test_support.dart'; | 29 import '../../generated/test_support.dart'; |
| 31 import '../../reflective_tests.dart'; | 30 import '../../reflective_tests.dart'; |
| 32 import '../../utils.dart'; | 31 import '../../utils.dart'; |
| 33 | 32 |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 } | 717 } |
| 719 | 718 |
| 720 @override | 719 @override |
| 721 ChangeNoticeImpl getNotice(Source source) { | 720 ChangeNoticeImpl getNotice(Source source) { |
| 722 return _pendingNotices.putIfAbsent( | 721 return _pendingNotices.putIfAbsent( |
| 723 source, () => new ChangeNoticeImpl(source)); | 722 source, () => new ChangeNoticeImpl(source)); |
| 724 } | 723 } |
| 725 | 724 |
| 726 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 725 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 727 } | 726 } |
| OLD | NEW |