Lines Matching refs:ASSERT_OK

80   ASSERT_OK(r);  in create_file()
117 ASSERT_OK(r); in touch_file()
137 ASSERT_OK(status); in fs_event_cb_dir()
140 ASSERT_OK(strcmp(filename, "file1")); in fs_event_cb_dir()
144 ASSERT_OK(uv_fs_event_stop(handle)); in fs_event_cb_dir()
154 ASSERT_OK(status); in fs_event_cb_del_dir()
156 ASSERT_OK(strcmp(filename, "watch_del_dir")); in fs_event_cb_del_dir()
157 ASSERT_OK(uv_fs_event_stop(handle)); in fs_event_cb_del_dir()
180 ASSERT_OK(uv_timer_start(&timer, fs_event_create_files, 100, 0)); in fs_event_create_files()
188 ASSERT_OK(r); in fs_event_del_dir()
203 ASSERT_OK(r); in fs_event_unlink_files()
210 ASSERT_OK(delete_file(fs_event_get_filename(fs_event_removed))); in fs_event_unlink_files()
215 ASSERT_OK(uv_timer_start(&timer, fs_event_unlink_files, 1, 0)); in fs_event_unlink_files()
226 ASSERT_OK(status); in fs_event_cb_dir_multi_file()
238 ASSERT_OK(uv_timer_start(&timer, fs_event_unlink_files, 1, 0)); in fs_event_cb_dir_multi_file()
266 ASSERT_OK(uv_timer_start(&timer, fs_event_create_files_in_subdir, 100, 0)); in fs_event_create_files_in_subdir()
280 ASSERT_OK(r); in fs_event_unlink_files_in_subdir()
287 ASSERT_OK(delete_file(fs_event_get_filename_in_subdir(fs_event_removed))); in fs_event_unlink_files_in_subdir()
292 ASSERT_OK(uv_timer_start(&timer, in fs_event_unlink_files_in_subdir()
320 ASSERT_OK(status); in fs_event_cb_dir_multi_file_in_subdir()
323 ASSERT_OK(strncmp(filename, in fs_event_cb_dir_multi_file_in_subdir()
336 ASSERT_OK(uv_timer_start(&timer, in fs_event_cb_dir_multi_file_in_subdir()
353 ASSERT_OK(status); in fs_event_cb_file()
356 ASSERT_OK(strcmp(filename, "file2")); in fs_event_cb_file()
360 ASSERT_OK(uv_fs_event_stop(handle)); in fs_event_cb_file()
369 ASSERT_OK(status); in fs_event_cb_file_current_dir()
372 ASSERT_OK(strcmp(filename, "watch_file")); in fs_event_cb_file_current_dir()
405 ASSERT_OK(r); in timer_cb_exact()
423 ASSERT_OK(status); in fs_event_cb_close()
454 ASSERT_OK(r); in TEST_IMPL()
456 ASSERT_OK(r); in TEST_IMPL()
458 ASSERT_OK(r); in TEST_IMPL()
460 ASSERT_OK(r); in TEST_IMPL()
495 ASSERT_OK(r); in TEST_IMPL()
497 ASSERT_OK(r); in TEST_IMPL()
499 ASSERT_OK(r); in TEST_IMPL()
501 ASSERT_OK(r); in TEST_IMPL()
535 ASSERT_OK(r); in TEST_IMPL()
540 ASSERT_OK(r); in TEST_IMPL()
542 ASSERT_OK(r); in TEST_IMPL()
544 ASSERT_OK(r); in TEST_IMPL()
550 ASSERT_OK(r); in TEST_IMPL()
555 ASSERT_OK(r); in TEST_IMPL()
603 ASSERT_OK(r); in TEST_IMPL()
605 ASSERT_OK(r); in TEST_IMPL()
607 ASSERT_OK(r); in TEST_IMPL()
609 ASSERT_OK(r); in TEST_IMPL()
649 ASSERT_OK(r); in TEST_IMPL()
651 ASSERT_OK(r); in TEST_IMPL()
653 ASSERT_OK(r); in TEST_IMPL()
655 ASSERT_OK(r); in TEST_IMPL()
705 ASSERT_OK(r); in TEST_IMPL()
707 ASSERT_OK(r); in TEST_IMPL()
709 ASSERT_OK(r); in TEST_IMPL()
711 ASSERT_OK(r); in TEST_IMPL()
713 ASSERT_OK(r); in TEST_IMPL()
737 ASSERT_OK(uv_fs_event_init(loop, watchers + 0)); in TEST_IMPL()
738 ASSERT_OK(uv_fs_event_start(watchers + 0, fail_cb, path, 0)); in TEST_IMPL()
739 ASSERT_OK(uv_fs_event_init(loop, watchers + 1)); in TEST_IMPL()
740 ASSERT_OK(uv_fs_event_start(watchers + 1, fail_cb, path, 0)); in TEST_IMPL()
741 ASSERT_OK(uv_timer_init(loop, &timer)); in TEST_IMPL()
742 ASSERT_OK(uv_timer_start(&timer, timer_cb_watch_twice, 10, 0)); in TEST_IMPL()
743 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()
771 ASSERT_OK(r); in TEST_IMPL()
776 ASSERT_OK(r); in TEST_IMPL()
780 ASSERT_OK(r); in TEST_IMPL()
784 ASSERT_OK(r); in TEST_IMPL()
786 ASSERT_OK(timer_cb_touch_called); in TEST_IMPL()
787 ASSERT_OK(fs_event_cb_called); in TEST_IMPL()
788 ASSERT_OK(close_cb_called); in TEST_IMPL()
818 ASSERT_OK(r); in TEST_IMPL()
822 ASSERT_OK(r); in TEST_IMPL()
846 ASSERT_OK(r); in TEST_IMPL()
851 ASSERT_OK(r); in TEST_IMPL()
858 ASSERT_OK(fs_event_cb_called); in TEST_IMPL()
884 ASSERT_OK(r); in TEST_IMPL()
889 ASSERT_OK(r); in TEST_IMPL()
895 ASSERT_OK(fs_event_cb_called); in TEST_IMPL()
911 ASSERT_OK(r); in timer_cb()
913 ASSERT_OK(r); in timer_cb()
931 ASSERT_OK(r); in TEST_IMPL()
934 ASSERT_OK(r); in TEST_IMPL()
958 ASSERT_OK(r); in TEST_IMPL()
960 ASSERT_OK(r); in TEST_IMPL()
992 ASSERT_OK(r); in TEST_IMPL()
994 ASSERT_OK(r); in TEST_IMPL()
1034 ASSERT_OK(r); in TEST_IMPL()
1036 ASSERT_OK(r); in TEST_IMPL()
1039 ASSERT_OK(r); in TEST_IMPL()
1041 ASSERT_OK(r); in TEST_IMPL()
1074 ASSERT_OK(r); in TEST_IMPL()
1076 ASSERT_OK(r); in TEST_IMPL()
1079 ASSERT_OK(r); in TEST_IMPL()
1081 ASSERT_OK(r); in TEST_IMPL()
1118 ASSERT_OK(r); in TEST_IMPL()
1123 ASSERT_OK(r); in TEST_IMPL()
1130 ASSERT_OK(r); in TEST_IMPL()
1134 ASSERT_OK(r); in TEST_IMPL()
1158 ASSERT_OK(r); in TEST_IMPL()
1161 ASSERT_OK(uv_is_active((uv_handle_t*) &fs_event)); in TEST_IMPL()
1164 ASSERT_OK(uv_is_active((uv_handle_t*) &fs_event)); in TEST_IMPL()
1189 ASSERT_OK(uv_fs_event_init(uv_default_loop(), &fs)); in TEST_IMPL()
1190 ASSERT_OK(uv_fs_event_start(&fs, fs_event_cb_stop, path, 0)); in TEST_IMPL()
1194 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer)); in TEST_IMPL()
1195 ASSERT_OK(uv_timer_start(&timer, timer_cb_touch, 100, 0)); in TEST_IMPL()
1197 ASSERT_OK(fs_event_cb_stop_calls); in TEST_IMPL()
1198 ASSERT_OK(timer_cb_touch_called); in TEST_IMPL()
1200 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1206 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()