Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: utils/tests/pub/install/path/relative_symlink_test.dart

Issue 12316056: Move pkg/path to pkg/pathos. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/tests/pub/install/path/relative_path_test.dart ('k') | utils/tests/pub/io_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'dart:io'; 5 import 'dart:io';
6 6
7 import '../../../../../pkg/path/lib/path.dart' as path; 7 import '../../../../../pkg/pathos/lib/path.dart' as path;
8 8
9 import '../../../../pub/exit_codes.dart' as exit_codes; 9 import '../../../../pub/exit_codes.dart' as exit_codes;
10 import '../../test_pub.dart'; 10 import '../../test_pub.dart';
11 11
12 main() { 12 main() {
13 // Pub uses NTFS junction points to create links in the packages directory. 13 // Pub uses NTFS junction points to create links in the packages directory.
14 // These (unlike the symlinks that are supported in Vista and later) do not 14 // These (unlike the symlinks that are supported in Vista and later) do not
15 // support relative paths. So this test, by design, will not pass on Windows. 15 // support relative paths. So this test, by design, will not pass on Windows.
16 // So just skip it. 16 // So just skip it.
17 if (Platform.operatingSystem == "windows") return; 17 if (Platform.operatingSystem == "windows") return;
(...skipping 27 matching lines...) Expand all
45 45
46 dir("moved", [ 46 dir("moved", [
47 dir(packagesPath, [ 47 dir(packagesPath, [
48 dir("foo", [ 48 dir("foo", [
49 file("foo.dart", 'main() => "foo";') 49 file("foo.dart", 'main() => "foo";')
50 ]) 50 ])
51 ]) 51 ])
52 ]).scheduleValidate(); 52 ]).scheduleValidate();
53 }); 53 });
54 } 54 }
OLDNEW
« no previous file with comments | « utils/tests/pub/install/path/relative_path_test.dart ('k') | utils/tests/pub/io_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698