Lines Matching refs:ASSERT_OK
49 ASSERT_OK(status); in connect_cb()
90 ASSERT_OK(status); in connection_cb()
92 ASSERT_OK(uv_tcp_init(tcp->loop, &incoming)); in connection_cb()
93 ASSERT_OK(uv_accept(tcp, (uv_stream_t*) &incoming)); in connection_cb()
96 ASSERT_OK(uv_read_start((uv_stream_t*) &incoming, alloc_cb, read_cb)); in connection_cb()
103 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
105 ASSERT_OK(uv_tcp_init(uv_default_loop(), &server)); in start_server()
106 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
107 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()
125 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()