OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, 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 @TestOn('linux || mac-os') |
| 6 |
| 7 import 'package:scheduled_test/scheduled_test.dart'; |
| 8 import 'package:watcher/watcher.dart'; |
| 9 |
| 10 import 'shared.dart'; |
| 11 import '../utils.dart'; |
| 12 |
| 13 void main() { |
| 14 watcherFactory = (file) => new PollingFileWatcher(file, |
| 15 pollingDelay: new Duration(milliseconds: 100)); |
| 16 |
| 17 setUp(() { |
| 18 createSandbox(); |
| 19 writeFile("file.txt"); |
| 20 }); |
| 21 |
| 22 sharedTests(); |
| 23 } |
OLD | NEW |