| Index: pkg/scheduled_test/lib/descriptor.dart
|
| diff --git a/pkg/scheduled_test/lib/descriptor.dart b/pkg/scheduled_test/lib/descriptor.dart
|
| index 1b2b9880d8a242790617cf383061db355057eec7..18192470bd5490c8df1e4cad82d72e4d3705c01a 100644
|
| --- a/pkg/scheduled_test/lib/descriptor.dart
|
| +++ b/pkg/scheduled_test/lib/descriptor.dart
|
| @@ -100,6 +100,18 @@ FileDescriptor file(String name, [String contents='']) =>
|
| FileDescriptor binaryFile(String name, List<int> contents) =>
|
| new FileDescriptor.binary(name, contents);
|
|
|
| +/// Creates a new text [FileDescriptor] with [name] that matches its String
|
| +/// contents against [matcher]. If the file is created, it's considered to be
|
| +/// empty.
|
| +FileDescriptor matcherFile(String name, matcher) =>
|
| + new FileDescriptor.matcher(name, wrapMatcher(matcher));
|
| +
|
| +/// Creates a new binary [FileDescriptor] with [name] that matches its binary
|
| +/// contents against [matcher]. If the file is created, it's considered to be
|
| +/// empty.
|
| +FileDescriptor binaryMatcherFile(String name, matcher) =>
|
| + new FileDescriptor.binaryMatcher(name, wrapMatcher(matcher));
|
| +
|
| /// Creates a new [DirectoryDescriptor] descriptor with [name] and [contents].
|
| DirectoryDescriptor dir(String name, [Iterable<Descriptor> contents]) =>
|
| new DirectoryDescriptor(name, contents == null? <Descriptor>[] : contents);
|
|
|