OLD | NEW |
(Empty) | |
| 1 import 'package:scheduled_test/scheduled_test.dart'; |
| 2 import '../../test_pub.dart'; |
| 3 main() { |
| 4 initConfig(); |
| 5 integration('activating a package installs its dependencies', () { |
| 6 servePackages((builder) { |
| 7 builder.serve("foo", "1.0.0", deps: { |
| 8 "bar": "any" |
| 9 }); |
| 10 builder.serve("bar", "1.0.0", deps: { |
| 11 "baz": "any" |
| 12 }); |
| 13 builder.serve("baz", "1.0.0"); |
| 14 }); |
| 15 schedulePub( |
| 16 args: ["global", "activate", "foo"], |
| 17 output: allOf( |
| 18 [contains("Downloading bar 1.0.0..."), contains("Downloading baz 1.0
.0...")])); |
| 19 }); |
| 20 } |
OLD | NEW |