@@ -16,7 +16,7 @@ import 'link_tests.dart';
1616void main () {
1717 watcherFactory = MacOSDirectoryWatcher .new ;
1818
19- fileTests ();
19+ fileTests (isNative : true );
2020 linkTests (isNative: true );
2121
2222 test ('DirectoryWatcher creates a MacOSDirectoryWatcher on Mac OS' , () {
@@ -36,21 +36,6 @@ void main() {
3636 await expectAddEvent ('dir/newer.txt' );
3737 });
3838
39- test ('emits events for many nested files moved out then immediately back in' ,
40- () async {
41- withPermutations (
42- (i, j, k) => writeFile ('dir/sub/sub-$i /sub-$j /file-$k .txt' ));
43-
44- await startWatcher (path: 'dir' );
45-
46- renameDir ('dir/sub' , 'sub' );
47- renameDir ('sub' , 'dir/sub' );
48-
49- await inAnyOrder (withPermutations (
50- (i, j, k) => isRemoveEvent ('dir/sub/sub-$i /sub-$j /file-$k .txt' )));
51- await inAnyOrder (withPermutations (
52- (i, j, k) => isAddEvent ('dir/sub/sub-$i /sub-$j /file-$k .txt' )));
53- });
5439 test ('does not suppress files with the same prefix as a directory' , () async {
5540 // Regression test for https://github.com/dart-lang/watcher/issues/83
5641 writeFile ('some_name.txt' );
0 commit comments