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 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
8 | 6 |
9 import '../../descriptor.dart' as d; | 7 import '../../descriptor.dart' as d; |
10 import '../../test_pub.dart'; | 8 import '../../test_pub.dart'; |
11 | 9 |
12 main() { | 10 main() { |
13 integration('checks out and upgrades a package from Git', () { | 11 integration('checks out and upgrades a package from Git', () { |
14 ensureGit(); | 12 ensureGit(); |
15 | 13 |
16 d.git('foo.git', [ | 14 d.git('foo.git', [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 ]) | 50 ]) |
53 ]).validate(); | 51 ]).validate(); |
54 | 52 |
55 d.dir(packagesPath, [ | 53 d.dir(packagesPath, [ |
56 d.dir('foo', [ | 54 d.dir('foo', [ |
57 d.file('foo.dart', 'main() => "foo 2";') | 55 d.file('foo.dart', 'main() => "foo 2";') |
58 ]) | 56 ]) |
59 ]).validate(); | 57 ]).validate(); |
60 }); | 58 }); |
61 } | 59 } |
OLD | NEW |