| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
| 6 | 6 |
| 7 import 'descriptor.dart' as d; | 7 import 'descriptor.dart' as d; |
| 8 import 'test_pub.dart'; | 8 import 'test_pub.dart'; |
| 9 | 9 |
| 10 main() { | 10 main() { |
| 11 initConfig(); | |
| 12 | |
| 13 setUp(() { | 11 setUp(() { |
| 14 servePackages((builder) { | 12 servePackages((builder) { |
| 15 builder.serve("normal", "1.2.3", deps: { | 13 builder.serve("normal", "1.2.3", deps: { |
| 16 "transitive": "any", | 14 "transitive": "any", |
| 17 "circular_a": "any" | 15 "circular_a": "any" |
| 18 }); | 16 }); |
| 19 builder.serve("transitive", "1.2.3", deps: {"shared": "any"}); | 17 builder.serve("transitive", "1.2.3", deps: {"shared": "any"}); |
| 20 builder.serve("shared", "1.2.3", deps: {"other": "any"}); | 18 builder.serve("shared", "1.2.3", deps: {"other": "any"}); |
| 21 builder.serve("unittest", "1.2.3", deps: {"shared": "any"}); | 19 builder.serve("unittest", "1.2.3", deps: {"shared": "any"}); |
| 22 builder.serve("other", "1.0.0"); | 20 builder.serve("other", "1.0.0"); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | '-- transitive 1.2.3 | 120 | '-- transitive 1.2.3 |
| 123 | '-- shared... | 121 | '-- shared... |
| 124 |-- overridden 2.0.0 | 122 |-- overridden 2.0.0 |
| 125 |-- override_only 1.2.3 | 123 |-- override_only 1.2.3 |
| 126 '-- unittest 1.2.3 | 124 '-- unittest 1.2.3 |
| 127 '-- shared 1.2.3 | 125 '-- shared 1.2.3 |
| 128 '-- other 1.0.0 | 126 '-- other 1.0.0 |
| 129 '''); | 127 '''); |
| 130 }); | 128 }); |
| 131 } | 129 } |
| OLD | NEW |