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:pathos/path.dart' as path; | 5 import 'package:path/path.dart' as path; |
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(); | 11 initConfig(); |
12 integration("includes root package's dev dependencies", () { | 12 integration("includes root package's dev dependencies", () { |
13 d.dir('foo', [ | 13 d.dir('foo', [ |
14 d.libDir('foo'), | 14 d.libDir('foo'), |
15 d.libPubspec('foo', '0.0.1') | 15 d.libPubspec('foo', '0.0.1') |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 pubInstall(); | 105 pubInstall(); |
106 | 106 |
107 d.dir(packagesPath, [ | 107 d.dir(packagesPath, [ |
108 d.dir("foo", [ | 108 d.dir("foo", [ |
109 d.file("foo.dart", 'main() => "foo";') | 109 d.file("foo.dart", 'main() => "foo";') |
110 ]), | 110 ]), |
111 d.nothing("bar") | 111 d.nothing("bar") |
112 ]).validate(); | 112 ]).validate(); |
113 }); | 113 }); |
114 } | 114 } |
OLD | NEW |