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 '../../../lib/src/exit_codes.dart' as exit_codes; | 9 import '../../../lib/src/exit_codes.dart' as exit_codes; |
10 import '../../descriptor.dart' as d; | 10 import '../../descriptor.dart' as d; |
11 import '../../test_pub.dart'; | 11 import '../../test_pub.dart'; |
12 | 12 |
13 main() { | 13 main() { |
14 // Pub uses NTFS junction points to create links in the packages directory. | 14 // Pub uses NTFS junction points to create links in the packages directory. |
15 // These (unlike the symlinks that are supported in Vista and later) do not | 15 // These (unlike the symlinks that are supported in Vista and later) do not |
16 // support relative paths. So this test, by design, will not pass on Windows. | 16 // support relative paths. So this test, by design, will not pass on Windows. |
17 // So just skip it. | 17 // So just skip it. |
(...skipping 27 matching lines...) Expand all Loading... |
45 | 45 |
46 d.dir("moved", [ | 46 d.dir("moved", [ |
47 d.dir(packagesPath, [ | 47 d.dir(packagesPath, [ |
48 d.dir("foo", [ | 48 d.dir("foo", [ |
49 d.file("foo.dart", 'main() => "foo";') | 49 d.file("foo.dart", 'main() => "foo";') |
50 ]) | 50 ]) |
51 ]) | 51 ]) |
52 ]).validate(); | 52 ]).validate(); |
53 }); | 53 }); |
54 } | 54 } |
OLD | NEW |