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

Side by Side Diff: sdk/lib/_internal/pub/test/update/git/update_locked_test.dart

Issue 19592015: Get rid of hokey dependencyMapList stuff. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 'dart:io'; 7 import 'dart:io';
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 integration("updates locked Git packages", () { 14 integration("updates locked Git packages", () {
15 ensureGit(); 15 ensureGit();
16 16
17 d.git('foo.git', [ 17 d.git('foo.git', [
18 d.libDir('foo'), 18 d.libDir('foo'),
19 d.libPubspec('foo', '1.0.0') 19 d.libPubspec('foo', '1.0.0')
20 ]).create(); 20 ]).create();
21 21
22 d.git('bar.git', [ 22 d.git('bar.git', [
23 d.libDir('bar'), 23 d.libDir('bar'),
24 d.libPubspec('bar', '1.0.0') 24 d.libPubspec('bar', '1.0.0')
25 ]).create(); 25 ]).create();
26 26
27 d.appDir([{"git": "../foo.git"}, {"git": "../bar.git"}]).create(); 27 d.appDir({
28 "foo": {"git": "../foo.git"},
29 "bar": {"git": "../bar.git"}
30 }).create();
28 31
29 pubInstall(); 32 pubInstall();
30 33
31 d.dir(packagesPath, [ 34 d.dir(packagesPath, [
32 d.dir('foo', [ 35 d.dir('foo', [
33 d.file('foo.dart', 'main() => "foo";') 36 d.file('foo.dart', 'main() => "foo";')
34 ]), 37 ]),
35 d.dir('bar', [ 38 d.dir('bar', [
36 d.file('bar.dart', 'main() => "bar";') 39 d.file('bar.dart', 'main() => "bar";')
37 ]) 40 ])
(...skipping 14 matching lines...) Expand all
52 d.dir(packagesPath, [ 55 d.dir(packagesPath, [
53 d.dir('foo', [ 56 d.dir('foo', [
54 d.file('foo.dart', 'main() => "foo 2";') 57 d.file('foo.dart', 'main() => "foo 2";')
55 ]), 58 ]),
56 d.dir('bar', [ 59 d.dir('bar', [
57 d.file('bar.dart', 'main() => "bar 2";') 60 d.file('bar.dart', 'main() => "bar 2";')
58 ]) 61 ])
59 ]).validate(); 62 ]).validate();
60 }); 63 });
61 } 64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698