Lines Matching refs:ASSERT_EQ
57 ASSERT_EQ(1, nread); in read_cb()
59 ASSERT_EQ(buf->base[0], 'Q'); in read_cb()
64 ASSERT_EQ(nread, UV_EOF); in read_cb()
77 ASSERT_EQ(1, called_connect_cb); in shutdown_cb()
95 ASSERT_EQ(UV_EALREADY, uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb()
96 ASSERT_EQ(UV_EINVAL, uv_read_start(NULL, alloc_cb, read_cb)); in connect_cb()
97 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, NULL, read_cb)); in connect_cb()
98 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, alloc_cb, NULL)); in connect_cb()
117 ASSERT_EQ(1, called_connect_cb); in tcp_close_cb()
120 ASSERT_EQ(1, called_timer_cb); in tcp_close_cb()
177 ASSERT_EQ(1, called_connect_cb); in TEST_IMPL()
178 ASSERT_EQ(1, called_shutdown_cb); in TEST_IMPL()
181 ASSERT_EQ(1, called_tcp_close_cb); in TEST_IMPL()
182 ASSERT_EQ(1, called_timer_close_cb); in TEST_IMPL()
183 ASSERT_EQ(1, called_timer_cb); in TEST_IMPL()