| 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.test_support; | 5 library test.src.task.test_support; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; | 7 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; |
| 8 import 'package:analyzer/task/model.dart'; | 8 import 'package:analyzer/task/model.dart'; |
| 9 | 9 |
| 10 class TestAnalysisTask extends AnalysisTask { | 10 class TestAnalysisTask extends AnalysisTask { |
| 11 TestAnalysisTask(AnalysisContext context, AnalysisTarget target) : super(conte
xt, target); | 11 TestAnalysisTask(AnalysisContext context, AnalysisTarget target) |
| 12 : super(context, target); |
| 12 | 13 |
| 13 @override | 14 @override |
| 14 String get description => 'Test task'; | 15 String get description => 'Test task'; |
| 15 | 16 |
| 16 @override | 17 @override |
| 18 TaskDescriptor get descriptor => null; |
| 19 |
| 20 @override |
| 17 internalPerform() { | 21 internalPerform() { |
| 18 } | 22 } |
| 19 } | 23 } |
| OLD | NEW |