Remove unused test utils (dart-lang/watcher#101)
diff --git a/pkgs/watcher/test/utils.dart b/pkgs/watcher/test/utils.dart index 9b4fd28..aa23d50 100644 --- a/pkgs/watcher/test/utils.dart +++ b/pkgs/watcher/test/utils.dart
@@ -175,14 +175,6 @@ Future expectRemoveEvent(String path) => _expectOrCollect(isWatchEvent(ChangeType.REMOVE, path)); -/// Consumes an add event for [path] if one is emitted at this point in the -/// schedule, but doesn't throw an error if it isn't. -/// -/// If this is used at the end of a test, [startClosingEventStream] should be -/// called before it. -Future allowAddEvent(String path) => - _expectOrCollect(mayEmit(isWatchEvent(ChangeType.ADD, path))); - /// Consumes a modification event for [path] if one is emitted at this point in /// the schedule, but doesn't throw an error if it isn't. /// @@ -191,14 +183,6 @@ Future allowModifyEvent(String path) => _expectOrCollect(mayEmit(isWatchEvent(ChangeType.MODIFY, path))); -/// Consumes a removal event for [path] if one is emitted at this point in the -/// schedule, but doesn't throw an error if it isn't. -/// -/// If this is used at the end of a test, [startClosingEventStream] should be -/// called before it. -Future allowRemoveEvent(String path) => - _expectOrCollect(mayEmit(isWatchEvent(ChangeType.REMOVE, path))); - /// Schedules writing a file in the sandbox at [path] with [contents]. /// /// If [contents] is omitted, creates an empty file. If [updateModified] is