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 '../../../../../pkg/pathos/lib/path.dart' as path; | 7 import 'package:pathos/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 // new File().fullPathSync() does not resolve through NTFS junction points, | 13 // new File().fullPathSync() does not resolve through NTFS junction points, |
14 // so this feature does not work on Windows. | 14 // so this feature does not work on Windows. |
15 if (Platform.operatingSystem == "windows") return; | 15 if (Platform.operatingSystem == "windows") return; |
16 | 16 |
17 initConfig(); | 17 initConfig(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 schedulePub(args: ["install"], | 51 schedulePub(args: ["install"], |
52 output: new RegExp(r"Dependencies installed!$")); | 52 output: new RegExp(r"Dependencies installed!$")); |
53 | 53 |
54 d.dir(packagesPath, [ | 54 d.dir(packagesPath, [ |
55 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), | 55 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), |
56 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), | 56 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), |
57 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) | 57 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) |
58 ]).validate(); | 58 ]).validate(); |
59 }); | 59 }); |
60 } | 60 } |
OLD | NEW |