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

Side by Side Diff: test/get/path/shared_dependency_symlink_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Revise again. Created 4 years, 2 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
« no previous file with comments | « test/get/path/relative_symlink_test.dart ('k') | test/get/path/shared_dependency_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 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 'package:path/path.dart' as path; 5 import 'package:path/path.dart' as path;
6 6
7 import '../../descriptor.dart' as d; 7 import '../../descriptor.dart' as d;
8 import '../../test_pub.dart'; 8 import '../../test_pub.dart';
9 9
10 main() { 10 main() {
(...skipping 20 matching lines...) Expand all
31 d.dir(appPath, [ 31 d.dir(appPath, [
32 d.appPubspec({ 32 d.appPubspec({
33 "foo": {"path": "../foo"}, 33 "foo": {"path": "../foo"},
34 "bar": {"path": "../bar"} 34 "bar": {"path": "../bar"}
35 }) 35 })
36 ]).create(); 36 ]).create();
37 37
38 d.dir("link").create(); 38 d.dir("link").create();
39 scheduleSymlink("shared", path.join("link", "shared")); 39 scheduleSymlink("shared", path.join("link", "shared"));
40 40
41 pubGet(); 41 pubGet(args: ["--packages-dir"]);
42 42
43 d.dir(packagesPath, [ 43 d.dir(packagesPath, [
44 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), 44 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]),
45 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), 45 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]),
46 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) 46 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')])
47 ]).validate(); 47 ]).validate();
48 }); 48 });
49 } 49 }
OLDNEW
« no previous file with comments | « test/get/path/relative_symlink_test.dart ('k') | test/get/path/shared_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698