OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 pub_tests; | |
6 | |
7 import 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
8 | 6 |
9 import '../descriptor.dart' as d; | 7 import '../descriptor.dart' as d; |
10 import '../test_pub.dart'; | 8 import '../test_pub.dart'; |
11 import 'utils.dart'; | 9 import 'utils.dart'; |
12 | 10 |
13 void main() { | 11 void main() { |
14 integration("reports previous transformers as dependencies if the " | 12 integration("reports previous transformers as dependencies if the " |
15 "transformer is transformed", () { | 13 "transformer is transformed", () { |
16 // The root app just exists so that something is transformed by pkg and qux. | 14 // The root app just exists so that something is transformed by pkg and qux. |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 "name": "baz", | 453 "name": "baz", |
456 "version": "1.0.0", | 454 "version": "1.0.0", |
457 "transformers": ["baz"] | 455 "transformers": ["baz"] |
458 }), | 456 }), |
459 d.dir("lib", [d.file("baz.dart", transformer())]) | 457 d.dir("lib", [d.file("baz.dart", transformer())]) |
460 ]).create(); | 458 ]).create(); |
461 | 459 |
462 expectDependencies({'pkg': ['foo'], 'foo': [], 'bar': [], 'baz': []}); | 460 expectDependencies({'pkg': ['foo'], 'foo': [], 'bar': [], 'baz': []}); |
463 }); | 461 }); |
464 } | 462 } |
OLD | NEW |