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 analyzer.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; |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 class _SourceFactoryMock extends TypedMock implements SourceFactory {} | 800 class _SourceFactoryMock extends TypedMock implements SourceFactory {} |
801 | 801 |
802 class _SourceMock extends TypedMock implements Source { | 802 class _SourceMock extends TypedMock implements Source { |
803 final String shortName; | 803 final String shortName; |
804 _SourceMock(this.shortName); | 804 _SourceMock(this.shortName); |
805 @override | 805 @override |
806 String get fullName => '/' + shortName; | 806 String get fullName => '/' + shortName; |
807 @override | 807 @override |
808 String toString() => fullName; | 808 String toString() => fullName; |
809 } | 809 } |
OLD | NEW |