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

Side by Side Diff: sdk/lib/_internal/pub/test/install/path/relative_symlink_test.dart

Issue 22941002: Remove unused imports in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 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
OLDNEW
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:path/path.dart' as path; 7 import 'package:path/path.dart' as path;
8 8
9 import '../../../lib/src/exit_codes.dart' as exit_codes;
10 import '../../descriptor.dart' as d; 9 import '../../descriptor.dart' as d;
11 import '../../test_pub.dart'; 10 import '../../test_pub.dart';
12 11
13 main() { 12 main() {
14 // 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.
15 // 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
16 // 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.
17 // So just skip it. 16 // So just skip it.
18 if (Platform.operatingSystem == "windows") return; 17 if (Platform.operatingSystem == "windows") return;
19 18
(...skipping 22 matching lines...) Expand all
42 41
43 d.dir("moved", [ 42 d.dir("moved", [
44 d.dir(packagesPath, [ 43 d.dir(packagesPath, [
45 d.dir("foo", [ 44 d.dir("foo", [
46 d.file("foo.dart", 'main() => "foo";') 45 d.file("foo.dart", 'main() => "foo";')
47 ]) 46 ])
48 ]) 47 ])
49 ]).validate(); 48 ]).validate();
50 }); 49 });
51 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698