Lines Matching refs:ASSERT_OK
114 ASSERT_OK(memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb()
115 ASSERT_OK(memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb()
120 ASSERT_OK(status); in poll_cb()
121 ASSERT_OK(memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb()
123 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 20, 0)); in poll_cb()
127 ASSERT_OK(status); in poll_cb()
130 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 200, 0)); in poll_cb()
134 ASSERT_OK(status); in poll_cb()
143 ASSERT_OK(memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb()
158 ASSERT_OK(uv_timer_init(loop, &timer_handle)); in TEST_IMPL()
159 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL()
160 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb, FIXTURE, 100)); in TEST_IMPL()
161 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()
179 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL()
182 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); in TEST_IMPL()
184 ASSERT_OK(uv_fs_poll_getpath(&poll_handle, buf, &len)); in TEST_IMPL()
187 ASSERT_OK(memcmp(buf, FIXTURE, len)); in TEST_IMPL()
191 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()
206 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
208 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
209 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); in TEST_IMPL()
226 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
228 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
231 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); in TEST_IMPL()
232 ASSERT_OK(uv_fs_poll_stop(&poll_handle)); in TEST_IMPL()
250 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
252 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
255 ASSERT_OK(uv_fs_poll_stop(&poll_handle)); in TEST_IMPL()
256 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); in TEST_IMPL()
274 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
277 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
278 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb_noop, FIXTURE, 100)); in TEST_IMPL()
282 ASSERT_OK(uv_fs_poll_stop(&poll_handle)); in TEST_IMPL()