| Index: test/descriptor.dart
|
| diff --git a/test/descriptor.dart b/test/descriptor.dart
|
| index d4855be06af4abc9a50c2d340bfc5a4423b00504..ec7fea1e6c38d9ff6d4f3c8a57396e7cb72d398c 100644
|
| --- a/test/descriptor.dart
|
| +++ b/test/descriptor.dart
|
| @@ -203,3 +203,11 @@ DirectoryDescriptor appDir([Map dependencies]) =>
|
| /// path to a path dependency, relative to the application directory.
|
| Descriptor packagesFile([Map<String, String> dependencies]) =>
|
| new PackagesFileDescriptor(dependencies);
|
| +
|
| +/// Describes a `.packages` file in the application directory, including the
|
| +/// implicit entry for the app itself.
|
| +Descriptor appPackagesFile(Map<String, String> dependencies) {
|
| + var copied = new Map.from(dependencies);
|
| + copied["myapp"] = ".";
|
| + return dir(appPath, [packagesFile(copied)]);
|
| +}
|
|
|