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

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

Issue 26284002: Rename "install" -> "get" and "update" -> "upgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | 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 '../../descriptor.dart' as d; 9 import '../../descriptor.dart' as d;
10 import '../../test_pub.dart'; 10 import '../../test_pub.dart';
(...skipping 12 matching lines...) Expand all
23 d.libDir("foo"), 23 d.libDir("foo"),
24 d.libPubspec("foo", "0.0.1") 24 d.libPubspec("foo", "0.0.1")
25 ]).create(); 25 ]).create();
26 26
27 d.dir(appPath, [ 27 d.dir(appPath, [
28 d.appPubspec({ 28 d.appPubspec({
29 "foo": {"path": "../foo"} 29 "foo": {"path": "../foo"}
30 }) 30 })
31 ]).create(); 31 ]).create();
32 32
33 pubInstall(); 33 pubGet();
34 34
35 d.dir("moved").create(); 35 d.dir("moved").create();
36 36
37 // Move the app and package. Since they are still next to each other, it 37 // Move the app and package. Since they are still next to each other, it
38 // should still be found. 38 // should still be found.
39 scheduleRename("foo", path.join("moved", "foo")); 39 scheduleRename("foo", path.join("moved", "foo"));
40 scheduleRename(appPath, path.join("moved", appPath)); 40 scheduleRename(appPath, path.join("moved", appPath));
41 41
42 d.dir("moved", [ 42 d.dir("moved", [
43 d.dir(packagesPath, [ 43 d.dir(packagesPath, [
44 d.dir("foo", [ 44 d.dir("foo", [
45 d.file("foo.dart", 'main() => "foo";') 45 d.file("foo.dart", 'main() => "foo";')
46 ]) 46 ])
47 ]) 47 ])
48 ]).validate(); 48 ]).validate();
49 }); 49 });
50 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698