Lines Matching refs:ASSERT_OK
70 ASSERT_OK(status); in connect_cb()
81 ASSERT_OK(r); in connect_cb()
87 ASSERT_OK(status); in connection_cb()
89 ASSERT_OK(uv_tcp_init(tcp->loop, &incoming)); in connection_cb()
90 ASSERT_OK(uv_accept(tcp, (uv_stream_t*) &incoming)); in connection_cb()
92 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer)); in connection_cb()
93 ASSERT_OK(uv_timer_start(&timer, timer_cb, 1000, 0)); in connection_cb()
102 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
104 ASSERT_OK(uv_tcp_init(uv_default_loop(), &server)); in start_server()
105 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
106 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
117 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
119 ASSERT_OK(uv_tcp_init(uv_default_loop(), &client)); in TEST_IMPL()
120 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
124 ASSERT_OK(uv_send_buffer_size((uv_handle_t*) &client, &buffer_size)); in TEST_IMPL()
126 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()