| 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; | 5 library pub_tests; |
| 6 | 6 |
| 7 import '../../../../../pkg/path/lib/path.dart' as path; | 7 import '../../../../../pkg/pathos/lib/path.dart' as path; |
| 8 | 8 |
| 9 import '../../../../pub/io.dart'; | 9 import '../../../../pub/io.dart'; |
| 10 import '../../test_pub.dart'; | 10 import '../../test_pub.dart'; |
| 11 | 11 |
| 12 main() { | 12 main() { |
| 13 initConfig(); | 13 initConfig(); |
| 14 integration('re-installs a package if it has an empty "lib" directory', () { | 14 integration('re-installs a package if it has an empty "lib" directory', () { |
| 15 | 15 |
| 16 servePackages([package("foo", "1.2.3")]); | 16 servePackages([package("foo", "1.2.3")]); |
| 17 | 17 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 appDir([dependency("foo", "1.2.3")]).scheduleCreate(); | 56 appDir([dependency("foo", "1.2.3")]).scheduleCreate(); |
| 57 | 57 |
| 58 schedulePub(args: ['install'], | 58 schedulePub(args: ['install'], |
| 59 output: new RegExp("Dependencies installed!\$")); | 59 output: new RegExp("Dependencies installed!\$")); |
| 60 | 60 |
| 61 cacheDir({"foo": "1.2.3"}).scheduleValidate(); | 61 cacheDir({"foo": "1.2.3"}).scheduleValidate(); |
| 62 packagesDir({"foo": "1.2.3"}).scheduleValidate(); | 62 packagesDir({"foo": "1.2.3"}).scheduleValidate(); |
| 63 }); | 63 }); |
| 64 } | 64 } |
| OLD | NEW |