Lines Matching refs:ASSERT_OK
56 ASSERT_OK(uv_tcp_init(uv_default_loop(), &conn)); in TEST_IMPL()
57 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
58 ASSERT_OK(uv_tcp_bind(&conn, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
60 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT + 1, &addr)); in TEST_IMPL()
61 ASSERT_OK(uv_tcp_connect(&req, in TEST_IMPL()
71 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
85 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
87 ASSERT_OK(r); in TEST_IMPL()
89 ASSERT_OK(r); in TEST_IMPL()
92 ASSERT_OK(r); in TEST_IMPL()
94 ASSERT_OK(r); in TEST_IMPL()
97 ASSERT_OK(r); in TEST_IMPL()
118 ASSERT_OK(uv_ip4_addr("127.255.255.255", TEST_PORT, &addr)); in TEST_IMPL()
121 ASSERT_OK(r); in TEST_IMPL()
143 ASSERT_OK(uv_ip4_addr("4.4.4.4", TEST_PORT, &addr)); in TEST_IMPL()
146 ASSERT_OK(r); in TEST_IMPL()
171 ASSERT_OK(r); in TEST_IMPL()
193 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr1)); in TEST_IMPL()
194 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT_2, &addr2)); in TEST_IMPL()
197 ASSERT_OK(r); in TEST_IMPL()
199 ASSERT_OK(r); in TEST_IMPL()
219 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
222 ASSERT_OK(r); in TEST_IMPL()
224 ASSERT_OK(r); in TEST_IMPL()
236 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
239 ASSERT_OK(r); in TEST_IMPL()
253 ASSERT_OK(r); in TEST_IMPL()
255 ASSERT_OK(r); in TEST_IMPL()
270 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
272 ASSERT_OK(r); in TEST_IMPL()
274 ASSERT_OK(r); in TEST_IMPL()
276 ASSERT_OK(r); in TEST_IMPL()
278 ASSERT_OK(uv_is_writable((uv_stream_t*) &server)); in TEST_IMPL()
279 ASSERT_OK(uv_is_readable((uv_stream_t*) &server)); in TEST_IMPL()
310 ASSERT_OK(uv_tcp_init(uv_default_loop(), &tcp)); in TEST_IMPL()
314 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()