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 'descriptor.dart' as d; | 5 import 'descriptor.dart' as d; |
6 import 'test_pub.dart'; | 6 import 'test_pub.dart'; |
7 | 7 |
8 main() { | 8 main() { |
9 initConfig(); | |
10 integration("includes root package's dev dependencies", () { | 9 integration("includes root package's dev dependencies", () { |
11 d.dir('foo', [ | 10 d.dir('foo', [ |
12 d.libDir('foo'), | 11 d.libDir('foo'), |
13 d.libPubspec('foo', '0.0.1') | 12 d.libPubspec('foo', '0.0.1') |
14 ]).create(); | 13 ]).create(); |
15 | 14 |
16 d.dir('bar', [ | 15 d.dir('bar', [ |
17 d.libDir('bar'), | 16 d.libDir('bar'), |
18 d.libPubspec('bar', '0.0.1') | 17 d.libPubspec('bar', '0.0.1') |
19 ]).create(); | 18 ]).create(); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 pubGet(); | 99 pubGet(); |
101 | 100 |
102 d.dir(packagesPath, [ | 101 d.dir(packagesPath, [ |
103 d.dir("foo", [ | 102 d.dir("foo", [ |
104 d.file("foo.dart", 'main() => "foo";') | 103 d.file("foo.dart", 'main() => "foo";') |
105 ]), | 104 ]), |
106 d.nothing("bar") | 105 d.nothing("bar") |
107 ]).validate(); | 106 ]).validate(); |
108 }); | 107 }); |
109 } | 108 } |
OLD | NEW |