Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 import 'package:scheduled_test/scheduled_test.dart'; | |
| 6 import 'package:watcher/src/directory_watcher/windows.dart'; | |
| 7 import 'package:watcher/watcher.dart'; | |
| 8 | |
| 9 import 'shared.dart'; | |
| 10 import '../utils.dart'; | |
| 11 | |
| 12 main() { | |
| 13 initConfig(); | |
| 14 | |
| 15 watcherFactory = (dir) => new WindowsDirectoryWatcher(dir); | |
| 16 | |
| 17 setUp(createSandbox); | |
| 18 | |
| 19 sharedTests(); | |
| 20 | |
|
Bob Nystrom
2014/06/03 17:37:01
Add a test that watches the root drive of the temp
Anders Johnsen
2014/06/04 08:46:47
Tried, but it started scanning my entire computer
| |
| 21 test('DirectoryWatcher creates a WindowsDirectoryWatcher on Windows', () { | |
| 22 expect(new DirectoryWatcher('.'), | |
| 23 new isInstanceOf<WindowsDirectoryWatcher>()); | |
| 24 }); | |
| 25 } | |
| 26 | |
| OLD | NEW |