OLD | NEW |
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; | |
6 | |
7 import '../../descriptor.dart' as d; | 5 import '../../descriptor.dart' as d; |
8 import '../../test_pub.dart'; | 6 import '../../test_pub.dart'; |
9 | 7 |
10 main() { | 8 main() { |
11 integration("doesn't upgrade one locked Git package's dependencies if it's " | 9 integration("doesn't upgrade one locked Git package's dependencies if it's " |
12 "not necessary", () { | 10 "not necessary", () { |
13 ensureGit(); | 11 ensureGit(); |
14 | 12 |
15 d.git('foo.git', [ | 13 d.git('foo.git', [ |
16 d.libDir('foo'), | 14 d.libDir('foo'), |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 d.dir(packagesPath, [ | 52 d.dir(packagesPath, [ |
55 d.dir('foo', [ | 53 d.dir('foo', [ |
56 d.file('foo.dart', 'main() => "foo 2";') | 54 d.file('foo.dart', 'main() => "foo 2";') |
57 ]), | 55 ]), |
58 d.dir('foo_dep', [ | 56 d.dir('foo_dep', [ |
59 d.file('foo_dep.dart', 'main() => "foo_dep";') | 57 d.file('foo_dep.dart', 'main() => "foo_dep";') |
60 ]), | 58 ]), |
61 ]).validate(); | 59 ]).validate(); |
62 }); | 60 }); |
63 } | 61 } |
OLD | NEW |