| 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/context/context.dart'; | 8 import 'package:analyzer/src/context/context.dart'; |
| 9 import 'package:analyzer/src/generated/engine.dart' | 9 import 'package:analyzer/src/generated/engine.dart' |
| 10 hide AnalysisContextImpl, AnalysisTask; | 10 hide AnalysisContextImpl, AnalysisTask; |
| 11 import 'package:analyzer/src/generated/java_engine.dart'; | 11 import 'package:analyzer/src/generated/java_engine.dart'; |
| 12 import 'package:analyzer/src/task/driver.dart'; | 12 import 'package:analyzer/src/task/driver.dart'; |
| 13 import 'package:analyzer/src/task/inputs.dart'; | 13 import 'package:analyzer/src/task/inputs.dart'; |
| 14 import 'package:analyzer/src/task/manager.dart'; | 14 import 'package:analyzer/src/task/manager.dart'; |
| 15 import 'package:analyzer/task/model.dart'; | 15 import 'package:analyzer/task/model.dart'; |
| 16 import 'package:unittest/unittest.dart'; | 16 import 'package:unittest/unittest.dart'; |
| 17 | 17 |
| 18 import '../../generated/test_support.dart'; | 18 import '../../generated/test_support.dart'; |
| 19 import '../../reflective_tests.dart'; | 19 import '../../reflective_tests.dart'; |
| 20 import '../context/abstract_context_test.dart'; | 20 import '../context/abstract_context.dart'; |
| 21 import 'test_support.dart'; | 21 import 'test_support.dart'; |
| 22 | 22 |
| 23 main() { | 23 main() { |
| 24 groupSep = ' | '; | 24 groupSep = ' | '; |
| 25 runReflectiveTests(AnalysisDriverTest); | 25 runReflectiveTests(AnalysisDriverTest); |
| 26 runReflectiveTests(WorkOrderTest); | 26 runReflectiveTests(WorkOrderTest); |
| 27 runReflectiveTests(WorkItemTest); | 27 runReflectiveTests(WorkItemTest); |
| 28 } | 28 } |
| 29 | 29 |
| 30 @reflectiveTest | 30 @reflectiveTest |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 * An [AnalysisContextImpl] which allows to set explicit and implicit targets | 504 * An [AnalysisContextImpl] which allows to set explicit and implicit targets |
| 505 * directly. | 505 * directly. |
| 506 */ | 506 */ |
| 507 class _TestContext extends AnalysisContextImpl { | 507 class _TestContext extends AnalysisContextImpl { |
| 508 @override | 508 @override |
| 509 List<AnalysisTarget> explicitTargets = <AnalysisTarget>[]; | 509 List<AnalysisTarget> explicitTargets = <AnalysisTarget>[]; |
| 510 | 510 |
| 511 @override | 511 @override |
| 512 List<AnalysisTarget> priorityTargets = <AnalysisTarget>[]; | 512 List<AnalysisTarget> priorityTargets = <AnalysisTarget>[]; |
| 513 } | 513 } |
| OLD | NEW |