Lines Matching refs:ASSERT_EQ

52   ASSERT_EQ(req->fs_type, UV_FS_CLOSEDIR);  in empty_closedir_cb()
63 ASSERT_EQ(req->fs_type, UV_FS_READDIR); in empty_readdir_cb()
79 ASSERT_EQ(req->fs_type, UV_FS_OPENDIR); in empty_opendir_cb()
120 ASSERT_EQ(opendir_req.fs_type, UV_FS_OPENDIR); in TEST_IMPL()
156 ASSERT_EQ(1, empty_opendir_cb_count); in TEST_IMPL()
157 ASSERT_EQ(1, empty_closedir_cb_count); in TEST_IMPL()
173 ASSERT_EQ(req->fs_type, UV_FS_OPENDIR); in non_existing_opendir_cb()
174 ASSERT_EQ(req->result, UV_ENOENT); in non_existing_opendir_cb()
192 ASSERT_EQ(r, UV_ENOENT); in TEST_IMPL()
193 ASSERT_EQ(opendir_req.fs_type, UV_FS_OPENDIR); in TEST_IMPL()
194 ASSERT_EQ(opendir_req.result, UV_ENOENT); in TEST_IMPL()
210 ASSERT_EQ(1, non_existing_opendir_cb_count); in TEST_IMPL()
225 ASSERT_EQ(req->fs_type, UV_FS_OPENDIR); in file_opendir_cb()
226 ASSERT_EQ(req->result, UV_ENOTDIR); in file_opendir_cb()
245 ASSERT_EQ(r, UV_ENOTDIR); in TEST_IMPL()
246 ASSERT_EQ(opendir_req.fs_type, UV_FS_OPENDIR); in TEST_IMPL()
247 ASSERT_EQ(opendir_req.result, UV_ENOTDIR); in TEST_IMPL()
261 ASSERT_EQ(1, file_opendir_cb_count); in TEST_IMPL()
287 ASSERT_EQ(req->fs_type, UV_FS_READDIR); in non_empty_readdir_cb()
292 ASSERT_EQ(3, non_empty_readdir_cb_count); in non_empty_readdir_cb()
298 ASSERT_EQ(1, req->result); in non_empty_readdir_cb()
305 ASSERT_EQ(dirents[0].type, UV_DIRENT_DIR); in non_empty_readdir_cb()
307 ASSERT_EQ(dirents[0].type, UV_DIRENT_FILE); in non_empty_readdir_cb()
309 ASSERT_EQ(dirents[0].type, UV_DIRENT_UNKNOWN); in non_empty_readdir_cb()
328 ASSERT_EQ(req->fs_type, UV_FS_OPENDIR); in non_empty_opendir_cb()
402 ASSERT_EQ(opendir_req.fs_type, UV_FS_OPENDIR); in TEST_IMPL()
421 ASSERT_EQ(dirents[0].type, UV_DIRENT_DIR); in TEST_IMPL()
423 ASSERT_EQ(dirents[0].type, UV_DIRENT_FILE); in TEST_IMPL()
425 ASSERT_EQ(dirents[0].type, UV_DIRENT_UNKNOWN); in TEST_IMPL()
431 ASSERT_EQ(3, entries_count); in TEST_IMPL()
454 ASSERT_EQ(1, non_empty_opendir_cb_count); in TEST_IMPL()
455 ASSERT_EQ(1, non_empty_closedir_cb_count); in TEST_IMPL()
469 ASSERT_EQ(req->fs_type, UV_FS_READDIR); in readdir_symlink_readdir_cb()
474 ASSERT_EQ(3, non_empty_readdir_cb_count); in readdir_symlink_readdir_cb()
481 ASSERT_EQ(symlink_dirents[0].type, UV_DIRENT_LINK); in readdir_symlink_readdir_cb()
483 ASSERT_EQ(symlink_dirents[1].type, UV_DIRENT_LINK); in readdir_symlink_readdir_cb()
494 ASSERT_EQ(req->fs_type, UV_FS_OPENDIR); in readdir_symlink_opendir_cb()