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

Side by Side Diff: sdk/lib/_internal/pub/test/pub_get_and_upgrade_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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library pub_tests; 5 library pub_tests;
6 6
7 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
8 8
9 import 'descriptor.dart' as d; 9 import 'descriptor.dart' as d;
10 import 'test_pub.dart'; 10 import 'test_pub.dart';
11 11
12 main() { 12 main() {
13 initConfig(); 13 initConfig();
14 14
15 forBothPubInstallAndUpdate((command) { 15 forBothPubGetAndUpgrade((command) {
16 group('requires', () { 16 group('requires', () {
17 integration('a pubspec', () { 17 integration('a pubspec', () {
18 d.dir(appPath, []).create(); 18 d.dir(appPath, []).create();
19 19
20 pubCommand(command, 20 pubCommand(command,
21 error: new RegExp(r'Could not find a file named "pubspec.yaml" ' 21 error: new RegExp(r'Could not find a file named "pubspec.yaml" '
22 r'in "[^\n]*"\.')); 22 r'in "[^\n]*"\.'));
23 }); 23 });
24 24
25 integration('a pubspec with a "name" key', () { 25 integration('a pubspec with a "name" key', () {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "myapp": {"path": "."} 132 "myapp": {"path": "."}
133 } 133 }
134 }) 134 })
135 ]).create(); 135 ]).create();
136 136
137 pubCommand(command, error: new RegExp(r'"dev_dependencies.myapp": ' 137 pubCommand(command, error: new RegExp(r'"dev_dependencies.myapp": '
138 r'Package may not list itself as a dependency\.')); 138 r'Package may not list itself as a dependency\.'));
139 }); 139 });
140 }); 140 });
141 } 141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698