| Index: mojo/public/dart/third_party/watcher/test/directory_watcher/windows_test.dart
|
| diff --git a/mojo/public/dart/third_party/watcher/test/directory_watcher/windows_test.dart b/mojo/public/dart/third_party/watcher/test/directory_watcher/windows_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4c77ced50830aea71fe0fbec150d0a3787604fad
|
| --- /dev/null
|
| +++ b/mojo/public/dart/third_party/watcher/test/directory_watcher/windows_test.dart
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +@TestOn('windows')
|
| +
|
| +import 'package:scheduled_test/scheduled_test.dart';
|
| +import 'package:watcher/src/directory_watcher/windows.dart';
|
| +import 'package:watcher/watcher.dart';
|
| +
|
| +import 'shared.dart';
|
| +import '../utils.dart';
|
| +
|
| +void main() {
|
| + watcherFactory = (dir) => new WindowsDirectoryWatcher(dir);
|
| +
|
| + setUp(createSandbox);
|
| +
|
| + sharedTests();
|
| +
|
| + test('DirectoryWatcher creates a WindowsDirectoryWatcher on Windows', () {
|
| + expect(new DirectoryWatcher('.'),
|
| + new isInstanceOf<WindowsDirectoryWatcher>());
|
| + });
|
| +}
|
|
|