Lines Matching refs:ASSERT_OK

90   ASSERT_OK(r);
111 ASSERT_OK(r);
131 ASSERT_OK(status);
134 ASSERT_OK(strcmp(filename, "file1"));
138 ASSERT_OK(uv_fs_event_stop(handle));
161 ASSERT_OK(uv_timer_start(&timer, fs_event_create_files, 100, 0));
175 ASSERT_OK(r);
182 ASSERT_OK(remove(fs_event_get_filename(fs_event_removed)));
187 ASSERT_OK(uv_timer_start(&timer, fs_event_unlink_files, 1, 0));
198 ASSERT_OK(status);
201 ASSERT_OK(strncmp(filename, file_prefix, sizeof(file_prefix) - 1));
209 ASSERT_OK(uv_timer_start(&timer, fs_event_unlink_files, 1, 0));
237 ASSERT_OK(uv_timer_start(&timer, fs_event_create_files_in_subdir, 100, 0));
251 ASSERT_OK(r);
258 ASSERT_OK(remove(fs_event_get_filename_in_subdir(fs_event_removed)));
263 ASSERT_OK(uv_timer_start(&timer,
291 ASSERT_OK(status);
294 ASSERT_OK(strncmp(filename,
307 ASSERT_OK(uv_timer_start(&timer,
324 ASSERT_OK(status);
327 ASSERT_OK(strcmp(filename, "file2"));
331 ASSERT_OK(uv_fs_event_stop(handle));
340 ASSERT_OK(status);
343 ASSERT_OK(strcmp(filename, "watch_file"));
376 ASSERT_OK(r);
394 ASSERT_OK(status);
425 ASSERT_OK(r);
427 ASSERT_OK(r);
429 ASSERT_OK(r);
431 ASSERT_OK(r);
468 ASSERT_OK(r);
473 ASSERT_OK(r);
475 ASSERT_OK(r);
477 ASSERT_OK(r);
483 ASSERT_OK(r);
488 ASSERT_OK(r);
536 ASSERT_OK(r);
538 ASSERT_OK(r);
540 ASSERT_OK(r);
542 ASSERT_OK(r);
582 ASSERT_OK(r);
584 ASSERT_OK(r);
586 ASSERT_OK(r);
588 ASSERT_OK(r);
638 ASSERT_OK(r);
640 ASSERT_OK(r);
642 ASSERT_OK(r);
644 ASSERT_OK(r);
646 ASSERT_OK(r);
670 ASSERT_OK(uv_fs_event_init(loop, watchers + 0));
671 ASSERT_OK(uv_fs_event_start(watchers + 0, fail_cb, path, 0));
672 ASSERT_OK(uv_fs_event_init(loop, watchers + 1));
673 ASSERT_OK(uv_fs_event_start(watchers + 1, fail_cb, path, 0));
674 ASSERT_OK(uv_timer_init(loop, &timer));
675 ASSERT_OK(uv_timer_start(&timer, timer_cb_watch_twice, 10, 0));
676 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT));
704 ASSERT_OK(r);
709 ASSERT_OK(r);
713 ASSERT_OK(r);
717 ASSERT_OK(r);
719 ASSERT_OK(timer_cb_touch_called);
720 ASSERT_OK(fs_event_cb_called);
721 ASSERT_OK(close_cb_called);
751 ASSERT_OK(r);
755 ASSERT_OK(r);
779 ASSERT_OK(r);
784 ASSERT_OK(r);
791 ASSERT_OK(fs_event_cb_called);
817 ASSERT_OK(r);
822 ASSERT_OK(r);
828 ASSERT_OK(fs_event_cb_called);
844 ASSERT_OK(r);
846 ASSERT_OK(r);
864 ASSERT_OK(r);
867 ASSERT_OK(r);
891 ASSERT_OK(r);
893 ASSERT_OK(r);
925 ASSERT_OK(r);
927 ASSERT_OK(r);
967 ASSERT_OK(r);
969 ASSERT_OK(r);
972 ASSERT_OK(r);
974 ASSERT_OK(r);
1007 ASSERT_OK(r);
1009 ASSERT_OK(r);
1012 ASSERT_OK(r);
1014 ASSERT_OK(r);
1051 ASSERT_OK(r);
1056 ASSERT_OK(r);
1063 ASSERT_OK(r);
1067 ASSERT_OK(r);
1124 ASSERT_OK(uv_loop_init(loop));
1129 ASSERT_OK(uv_fs_event_init(loop, event));
1130 ASSERT_OK(uv_fs_event_start(event,
1137 ASSERT_OK(uv_timer_init(loop, &timer));
1138 ASSERT_OK(uv_timer_start(&timer, timer_cb_nop, 2, 0));
1154 ASSERT_OK(uv_fs_event_stop(event));
1191 ASSERT_OK(r);
1194 ASSERT_OK(uv_is_active((uv_handle_t*) &fs_event));
1197 ASSERT_OK(uv_is_active((uv_handle_t*) &fs_event));
1222 ASSERT_OK(uv_fs_event_init(uv_default_loop(), &fs));
1223 ASSERT_OK(uv_fs_event_start(&fs, fs_event_cb_stop, path, 0));
1227 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer));
1228 ASSERT_OK(uv_timer_start(&timer, timer_cb_touch, 100, 0));
1230 ASSERT_OK(fs_event_cb_stop_calls);
1231 ASSERT_OK(timer_cb_touch_called);
1233 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT));
1239 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT));