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 'dart:io'; | 5 import 'dart:io'; |
6 | 6 |
7 import 'package:pathos/path.dart' as path; | 7 import 'package:path/path.dart' as path; |
8 | 8 |
9 import '../../descriptor.dart' as d; | 9 import '../../descriptor.dart' as d; |
10 import '../../test_pub.dart'; | 10 import '../../test_pub.dart'; |
11 | 11 |
12 main() { | 12 main() { |
13 initConfig(); | 13 initConfig(); |
14 integration("shared dependency with symlink", () { | 14 integration("shared dependency with symlink", () { |
15 d.dir("shared", [ | 15 d.dir("shared", [ |
16 d.libDir("shared"), | 16 d.libDir("shared"), |
17 d.libPubspec("shared", "0.0.1") | 17 d.libPubspec("shared", "0.0.1") |
(...skipping 28 matching lines...) Expand all Loading... |
46 | 46 |
47 pubInstall(); | 47 pubInstall(); |
48 | 48 |
49 d.dir(packagesPath, [ | 49 d.dir(packagesPath, [ |
50 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), | 50 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), |
51 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), | 51 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), |
52 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) | 52 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) |
53 ]).validate(); | 53 ]).validate(); |
54 }); | 54 }); |
55 } | 55 } |
OLD | NEW |