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 analyzer.test.src.task.test_support; |
6 | 6 |
7 import 'package:analyzer/src/generated/engine.dart'; | 7 import 'package:analyzer/src/generated/engine.dart'; |
8 import 'package:analyzer/src/generated/java_engine.dart'; | 8 import 'package:analyzer/src/generated/java_engine.dart'; |
9 import 'package:analyzer/task/model.dart'; | 9 import 'package:analyzer/task/model.dart'; |
10 | 10 |
11 /** | 11 /** |
12 * A configurable analysis task that can be used by tests. | 12 * A configurable analysis task that can be used by tests. |
13 */ | 13 */ |
14 class TestAnalysisTask extends AnalysisTask { | 14 class TestAnalysisTask extends AnalysisTask { |
15 /** | 15 /** |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 for (ResultDescriptor result in results) { | 54 for (ResultDescriptor result in results) { |
55 outputs[result] = value++; | 55 outputs[result] = value++; |
56 } | 56 } |
57 } else if (descriptor != null) { | 57 } else if (descriptor != null) { |
58 for (ResultDescriptor result in descriptor.results) { | 58 for (ResultDescriptor result in descriptor.results) { |
59 outputs[result] = value++; | 59 outputs[result] = value++; |
60 } | 60 } |
61 } | 61 } |
62 } | 62 } |
63 } | 63 } |
OLD | NEW |