Lines Matching refs:ASSERT_EQ

63     ASSERT_EQ(len, sizeof(expected) - 1);  in pipe_client_connect_cb()
84 ASSERT_EQ(len, 6); in check_is_autobind_abstract_socket_name()
85 ASSERT_EQ(*p, '\0'); in check_is_autobind_abstract_socket_name()
100 ASSERT_EQ(UV_ENOBUFS, uv_pipe_getpeername(&pipe_client, buf, &len)); in pipe_client_autobind_connect_cb()
140 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
144 ASSERT_EQ(r, UV_EBADF); in TEST_IMPL()
148 ASSERT_EQ(r, UV_EBADF); in TEST_IMPL()
158 ASSERT_EQ(UV_ENOBUFS, uv_pipe_getsockname(&pipe_server, buf, &len)); in TEST_IMPL()
164 ASSERT_EQ(buf[len], '\0'); in TEST_IMPL()
169 ASSERT_EQ(r, UV_ENOTCONN); in TEST_IMPL()
179 ASSERT_EQ(r, UV_EBADF); in TEST_IMPL()
183 ASSERT_EQ(r, UV_EBADF); in TEST_IMPL()
195 ASSERT_EQ(r, 0); in TEST_IMPL()
196 ASSERT_EQ(len, 0); in TEST_IMPL()
207 ASSERT_EQ(1, pipe_client_connect_cb_called); in TEST_IMPL()
208 ASSERT_EQ(2, pipe_close_cb_called); in TEST_IMPL()
240 ASSERT_EQ(1, pipe_client_connect_cb_called); in TEST_IMPL()
241 ASSERT_EQ(2, pipe_close_cb_called); in TEST_IMPL()
247 ASSERT_EQ(UV_EINVAL, uv_pipe_bind2(&pipe_server, name, sizeof(name), 0)); in TEST_IMPL()
250 ASSERT_EQ(UV_EINVAL, uv_pipe_connect2(&connect_req, in TEST_IMPL()
258 ASSERT_EQ(2, pipe_close_cb_called); in TEST_IMPL()
285 ASSERT_EQ(1, pipe_client_connect_cb_called); in TEST_IMPL()
286 ASSERT_EQ(2, pipe_close_cb_called); in TEST_IMPL()
292 ASSERT_EQ(UV_EINVAL, uv_pipe_bind2(&pipe_server, "", 0, 0)); in TEST_IMPL()
295 ASSERT_EQ(1, pipe_close_cb_called); in TEST_IMPL()
346 ASSERT_EQ(len1, len2); in TEST_IMPL()
354 ASSERT_EQ(1, pipe_close_cb_called); in TEST_IMPL()