| 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.driver_test; | 5 library test.src.task.driver_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/engine.dart' | 8 import 'package:analyzer/src/generated/engine.dart'; |
| 9 hide | |
| 10 AnalysisCache, | |
| 11 AnalysisContextImpl, | |
| 12 AnalysisTask, | |
| 13 UniversalCachePartition, | |
| 14 WorkManager; | |
| 15 import 'package:analyzer/src/generated/java_engine.dart'; | 9 import 'package:analyzer/src/generated/java_engine.dart'; |
| 16 import 'package:analyzer/src/task/driver.dart'; | 10 import 'package:analyzer/src/task/driver.dart'; |
| 17 import 'package:analyzer/src/task/inputs.dart'; | 11 import 'package:analyzer/src/task/inputs.dart'; |
| 18 import 'package:analyzer/src/task/manager.dart'; | 12 import 'package:analyzer/src/task/manager.dart'; |
| 19 import 'package:analyzer/task/model.dart'; | 13 import 'package:analyzer/task/model.dart'; |
| 20 import 'package:typed_mock/typed_mock.dart'; | 14 import 'package:typed_mock/typed_mock.dart'; |
| 21 import 'package:unittest/unittest.dart'; | 15 import 'package:unittest/unittest.dart'; |
| 22 | 16 |
| 23 import '../../generated/test_support.dart'; | 17 import '../../generated/test_support.dart'; |
| 24 import '../../reflective_tests.dart'; | 18 import '../../reflective_tests.dart'; |
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 return dependency; | 778 return dependency; |
| 785 } | 779 } |
| 786 } | 780 } |
| 787 return null; | 781 return null; |
| 788 } | 782 } |
| 789 } | 783 } |
| 790 | 784 |
| 791 class _WorkManagerMock extends TypedMock implements WorkManager { | 785 class _WorkManagerMock extends TypedMock implements WorkManager { |
| 792 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 786 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 793 } | 787 } |
| OLD | NEW |