Lines Matching refs:testdir

38     let mut testdir = TestDir::new();  in it_should_watch_a_file()  localVariable
39 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file()
60 let mut testdir = TestDir::new(); in it_should_watch_a_file_async() localVariable
61 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file_async()
99 let mut testdir = TestDir::new(); in it_should_watch_a_file_from_eventstream_watches() localVariable
100 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file_from_eventstream_watches()
136 let mut testdir = TestDir::new(); in it_should_watch_a_file_after_converting_back_from_eventstream() localVariable
137 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file_after_converting_back_from_eventstream()
169 let mut testdir = TestDir::new(); in it_should_convert_the_name_into_an_os_str() localVariable
170 let (path, mut file) = testdir.new_file(); in it_should_convert_the_name_into_an_os_str()
190 let mut testdir = TestDir::new(); in it_should_set_name_to_none_if_it_is_empty() localVariable
191 let (path, mut file) = testdir.new_file(); in it_should_set_name_to_none_if_it_is_empty()
211 let mut testdir = TestDir::new(); in it_should_not_accept_watchdescriptors_from_other_instances() localVariable
212 let (path, _) = testdir.new_file(); in it_should_not_accept_watchdescriptors_from_other_instances()
225 let mut testdir = TestDir::new(); in watch_descriptors_from_different_inotify_instances_should_not_be_equal() localVariable
226 let (path, _) = testdir.new_file(); in watch_descriptors_from_different_inotify_instances_should_not_be_equal()
251 let mut testdir = TestDir::new(); in watch_descriptor_equality_should_not_be_confused_by_reused_fds() localVariable
252 let (path, _) = testdir.new_file(); in watch_descriptor_equality_should_not_be_confused_by_reused_fds()
322 let mut testdir = TestDir::new(); in it_should_watch_correctly_with_a_watches_clone() localVariable
323 let (path, mut file) = testdir.new_file(); in it_should_watch_correctly_with_a_watches_clone()
353 let mut testdir = TestDir::new(); in it_should_distinguish_event_for_files_with_same_name() localVariable
354 let testdir_path = testdir.dir.path().to_owned(); in it_should_distinguish_event_for_files_with_same_name()
362 let (path_1, _) = testdir.new_file_with_name("file_a"); in it_should_distinguish_event_for_files_with_same_name()
364 testdir.new_directory_with_name("another_dir"); in it_should_distinguish_event_for_files_with_same_name()
366 let (path_2, _) = testdir.new_file_in_directory_with_name("another_dir", "file_a"); in it_should_distinguish_event_for_files_with_same_name()
380 testdir.delete_file(file); in it_should_distinguish_event_for_files_with_same_name()