• Home
  • Raw
  • Download

Lines Matching refs:tt_assert

327 	tt_assert(evhttp_connection_get_server(evcon) == arg);  in http_basic_cb()
334 tt_assert(sa); in http_basic_cb()
338 tt_assert(!strncmp(addrbuf, "127.0.0.1:", strlen("127.0.0.1:"))); in http_basic_cb()
341 tt_assert(!strncmp(addrbuf, "[::1]:", strlen("[::1]:"))); in http_basic_cb()
703 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_bad_request_test()
735 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_bad_request_test()
819 tt_assert(http); in http_delete_test()
821 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_delete_test()
904 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_on_complete_test()
965 tt_assert(fd1 != EVUTIL_INVALID_SOCKET); in http_allowed_methods_test()
987 tt_assert(fd2 != EVUTIL_INVALID_SOCKET); in http_allowed_methods_test()
1005 tt_assert(fd3 != EVUTIL_INVALID_SOCKET); in http_allowed_methods_test()
1029 tt_assert(result1); in http_allowed_methods_test()
1030 tt_assert(!strncmp(result1, "HTTP/1.1 501 ", strlen("HTTP/1.1 501 "))); in http_allowed_methods_test()
1033 tt_assert(result2); in http_allowed_methods_test()
1034 tt_assert(!strncmp(result2, "HTTP/1.1 200 ", strlen("HTTP/1.1 200 "))); in http_allowed_methods_test()
1037 tt_assert(result3); in http_allowed_methods_test()
1038 tt_assert(!strncmp(result3, "HTTP/1.1 501 ", strlen("HTTP/1.1 501 "))); in http_allowed_methods_test()
1081 tt_assert(http); in http_connection_test_()
1098 tt_assert(evcon); in http_connection_test_()
1101 tt_assert(evhttp_connection_get_base(evcon) == data->base); in http_connection_test_()
1105 tt_assert(evhttp_connection_get_server(evcon) == NULL); in http_connection_test_()
1124 tt_assert(test_ok); in http_connection_test_()
1199 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); in http_connection_async_test()
1202 tt_assert(dns_base); in http_connection_async_test()
1212 tt_assert(evcon); in http_connection_async_test()
1232 tt_assert(test_ok); in http_connection_async_test()
1293 tt_assert(evcon); in http_autofree_connection_test()
1325 tt_assert(TAILQ_FIRST(&http->connections) == NULL); in http_autofree_connection_test()
1343 tt_assert(!req); in http_failed_request_done()
1351 tt_assert(req); in http_timed_out_request_done()
1413 tt_assert(evcon[i]); in http_fill_backlog()
1417 tt_assert(req); in http_fill_backlog()
1474 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); in http_cancel_test()
1477 tt_assert(dns_base); in http_cancel_test()
1512 tt_assert(evcon); in http_cancel_test()
1691 tt_assert(evhttp_add_server_alias(second, "manolito.info") == 0); in http_virtual_host_test()
1692 tt_assert(evhttp_add_server_alias(third, "bonkers.org") == 0); in http_virtual_host_test()
1695 tt_assert(evcon); in http_virtual_host_test()
1711 tt_assert(test_ok == 1); in http_virtual_host_test()
1730 tt_assert(test_ok == 1); in http_virtual_host_test()
1748 tt_assert(test_ok == 1) in http_virtual_host_test()
1766 tt_assert(test_ok == 1) in http_virtual_host_test()
1784 tt_assert(test_ok == 1) in http_virtual_host_test()
1790 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_virtual_host_test()
1928 tt_assert(evcon); in http_dispatcher_test()
1939 tt_assert(req); in http_dispatcher_test()
1977 tt_assert(evcon); in http_post_test()
1985 tt_assert(req); in http_post_test()
2002 tt_assert(req); in http_post_test()
2116 tt_assert(evcon); in http_put_test()
2123 tt_assert(req); in http_put_test()
2241 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_failure_test()
2268 tt_assert(req); in close_detect_done()
2269 tt_assert(evhttp_request_get_response_code(req) == HTTP_OK); in close_detect_done()
2335 tt_assert(evcon); in http_close_detection_()
2339 tt_assert(evcon); in http_close_detection_()
2361 tt_assert(TAILQ_FIRST(&http->connections) == NULL); in http_close_detection_()
2423 tt_assert(real_val != NULL); in validate_header()
2509 tt_assert(evhttp_find_header(&headers, "q") == NULL); in http_parse_query_str_test()
2914 tt_assert(s); \ in http_uriencode_test()
2918 tt_assert(s2); \ in http_uriencode_test()
2928 tt_assert(s); \ in http_uriencode_test()
2937 tt_assert(s); \ in http_uriencode_test()
2962 tt_assert(s); in http_uriencode_test()
2970 tt_assert(s); in http_uriencode_test()
2989 tt_assert(!memcmp(s, "\0\0x\0\0", 5)); in http_uriencode_test()
2996 tt_assert(!memcmp(s, "\0\0x\0\0", 5)); in http_uriencode_test()
3027 tt_assert(base); in http_base_test()
3031 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_base_test()
3118 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_incomplete_test_()
3335 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_chunk_out_test_impl()
3369 tt_assert(evcon); in http_chunk_out_test_impl()
3386 tt_assert(test_ok == 1); in http_chunk_out_test_impl()
3414 tt_assert(evcon); in http_stream_out_test_impl()
3484 tt_assert(evcon); in http_stream_in_test_()
3554 tt_assert(evcon); in http_stream_in_cancel_test()
3583 tt_assert(!req); in http_connection_fail_done()
3616 tt_assert(evcon); in http_connection_fail_test_impl()
3624 tt_assert(req); in http_connection_fail_test_impl()
3643 tt_assert(req); in http_connection_retry_done()
3690 tt_assert(evcon); in http_simple_test_impl()
3694 tt_assert(req); in http_simple_test_impl()
3732 tt_assert(evcon); in http_connection_retry_test_basic()
3734 tt_assert(!evhttp_connection_set_flags(evcon, EVHTTP_CON_REUSE_CONNECTED_ADDR)); in http_connection_retry_test_basic()
3746 tt_assert(req); in http_connection_retry_test_basic()
3781 tt_assert(req); in http_connection_retry_test_basic()
3798 tt_assert(test_ok == 1); in http_connection_retry_test_basic()
3810 tt_assert(req); in http_connection_retry_test_basic()
3851 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); in http_connection_retry_conn_address_test_impl()
3853 tt_assert(dns_base); in http_connection_retry_conn_address_test_impl()
3886 tt_assert(escaped); in http_primitives()
3891 tt_assert(escaped); in http_primitives()
3895 tt_assert(http); in http_primitives()
3925 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_multi_line_header_test()
3986 tt_assert(evcon); in http_negative_content_length_test()
4016 tt_assert(req); in http_data_length_constraints_test_done()
4024 tt_assert(req); in http_large_entity_test_done()
4032 tt_assert(req); in http_expectation_failed_done()
4056 tt_assert(continue_size < size); in http_data_length_constraints_test_impl()
4064 tt_assert(evcon); in http_data_length_constraints_test_impl()
4067 tt_assert(!evhttp_connection_set_flags(evcon, EVHTTP_CON_READ_ON_WRITE_ERROR)); in http_data_length_constraints_test_impl()
4075 tt_assert(req); in http_data_length_constraints_test_impl()
4085 tt_assert(req); in http_data_length_constraints_test_impl()
4171 tt_assert(!evhttp_set_flags(http, EVHTTP_SERVER_LINGERING_CLOSE)); in http_lingering_close_test_impl()
4175 tt_assert(evcon); in http_lingering_close_test_impl()
4192 tt_assert(req); in http_lingering_close_test_impl()
4324 tt_assert(evhttp_set_cb(http, "/test", in http_terminate_chunked_test_impl()
4328 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_terminate_chunked_test_impl()
4388 tt_assert(regress_dnsserver(data->base, &portnum, ipv6_search_table)); in http_ipv6_for_domain_test_impl()
4391 tt_assert(dns_base); in http_ipv6_for_domain_test_impl()
4420 tt_assert(evcon); in http_request_get_addr_on_close()
4423 tt_assert(storage); in http_request_get_addr_on_close()
4426 tt_assert(!strncmp(addrbuf, local, sizeof(local) - 1)); in http_request_get_addr_on_close()
4448 tt_assert(evcon); in http_get_addr_test()
4517 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_write_during_read_test_impl()
4558 tt_assert(evcon); in http_request_own_test()
4587 tt_assert(fd != EVUTIL_INVALID_SOCKET); in http_run_bev_request()
4632 tt_assert(test_ok == -2); in http_request_extra_body_test()
4643 tt_assert(test_ok == -2); in http_request_extra_body_test()