OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.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 d.file. | 3 // BSD-style license that can be found in the LICENSE d.file. |
4 | 4 |
5 import 'package:pathos/path.dart' as path; | 5 import 'package:pathos/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() { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 schedulePub(args: ["install"], | 122 schedulePub(args: ["install"], |
123 output: new RegExp(r"Dependencies installed!$")); | 123 output: new RegExp(r"Dependencies installed!$")); |
124 | 124 |
125 d.dir(packagesPath, [ | 125 d.dir(packagesPath, [ |
126 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), | 126 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), |
127 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), | 127 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), |
128 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) | 128 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) |
129 ]).validate(); | 129 ]).validate(); |
130 }); | 130 }); |
131 } | 131 } |
OLD | NEW |