Lines Matching refs:ASSERT
49 ASSERT((uv_tcp_t*)t == &tcp); in read_cb()
57 ASSERT(nread == 1); in read_cb()
58 ASSERT(!got_eof); in read_cb()
59 ASSERT(buf->base[0] == 'Q'); in read_cb()
64 ASSERT(nread == UV_EOF); in read_cb()
75 ASSERT(req == &shutdown_req); in shutdown_cb()
77 ASSERT(called_connect_cb == 1); in shutdown_cb()
78 ASSERT(!got_eof); in shutdown_cb()
79 ASSERT(called_tcp_close_cb == 0); in shutdown_cb()
80 ASSERT(called_timer_close_cb == 0); in shutdown_cb()
81 ASSERT(called_timer_cb == 0); in shutdown_cb()
88 ASSERT(status == 0); in connect_cb()
89 ASSERT(req == &connect_req); in connect_cb()
110 ASSERT(called_shutdown_cb == 0); in connect_cb()
115 ASSERT(handle == (uv_handle_t*) &tcp); in tcp_close_cb()
117 ASSERT(called_connect_cb == 1); in tcp_close_cb()
118 ASSERT(got_q); in tcp_close_cb()
119 ASSERT(got_eof); in tcp_close_cb()
120 ASSERT(called_timer_cb == 1); in tcp_close_cb()
127 ASSERT(handle == (uv_handle_t*) &timer); in timer_close_cb()
133 ASSERT(handle == &timer); in timer_cb()
140 ASSERT(called_tcp_close_cb == 0); in timer_cb()
161 ASSERT(r == 0); in TEST_IMPL()
165 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in TEST_IMPL()
167 ASSERT(!r); in TEST_IMPL()
173 ASSERT(!r); in TEST_IMPL()
177 ASSERT(called_connect_cb == 1); in TEST_IMPL()
178 ASSERT(called_shutdown_cb == 1); in TEST_IMPL()
179 ASSERT(got_eof); in TEST_IMPL()
180 ASSERT(got_q); in TEST_IMPL()
181 ASSERT(called_tcp_close_cb == 1); in TEST_IMPL()
182 ASSERT(called_timer_close_cb == 1); in TEST_IMPL()
183 ASSERT(called_timer_cb == 1); in TEST_IMPL()