Lines Matching refs:tt_assert
313 tt_assert(evhttp_connection_get_server(evcon) == arg); in http_basic_cb()
495 tt_assert(test_ok == 3); in http_basic_test_impl()
518 tt_assert(test_ok == 5); in http_basic_test_impl()
541 tt_assert(test_ok == 7); in http_basic_test_impl()
773 tt_assert(http); in http_delete_test()
983 tt_assert(result1); in http_allowed_methods_test()
984 tt_assert(!strncmp(result1, "HTTP/1.1 501 ", strlen("HTTP/1.1 501 "))); in http_allowed_methods_test()
987 tt_assert(result2); in http_allowed_methods_test()
988 tt_assert(!strncmp(result2, "HTTP/1.1 200 ", strlen("HTTP/1.1 200 "))); in http_allowed_methods_test()
991 tt_assert(result3); in http_allowed_methods_test()
992 tt_assert(!strncmp(result3, "HTTP/1.1 501 ", strlen("HTTP/1.1 501 "))); in http_allowed_methods_test()
1035 tt_assert(http); in http_connection_test_()
1052 tt_assert(evcon); in http_connection_test_()
1055 tt_assert(evhttp_connection_get_base(evcon) == data->base); in http_connection_test_()
1059 tt_assert(evhttp_connection_get_server(evcon) == NULL); in http_connection_test_()
1078 tt_assert(test_ok); in http_connection_test_()
1153 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); in http_connection_async_test()
1156 tt_assert(dns_base); in http_connection_async_test()
1166 tt_assert(evcon); in http_connection_async_test()
1186 tt_assert(test_ok); in http_connection_async_test()
1246 tt_assert(evcon); in http_autofree_connection_test()
1282 tt_assert(TAILQ_FIRST(&http->connections) == NULL); in http_autofree_connection_test()
1300 tt_assert(!req); in http_failed_request_done()
1308 tt_assert(req); in http_timed_out_request_done()
1370 tt_assert(evcon[i]); in http_fill_backlog()
1374 tt_assert(req); in http_fill_backlog()
1431 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); in http_cancel_test()
1434 tt_assert(dns_base); in http_cancel_test()
1469 tt_assert(evcon); in http_cancel_test()
1648 tt_assert(evhttp_add_server_alias(second, "manolito.info") == 0); in http_virtual_host_test()
1649 tt_assert(evhttp_add_server_alias(third, "bonkers.org") == 0); in http_virtual_host_test()
1652 tt_assert(evcon); in http_virtual_host_test()
1668 tt_assert(test_ok == 1); in http_virtual_host_test()
1687 tt_assert(test_ok == 1); in http_virtual_host_test()
1705 tt_assert(test_ok == 1) in http_virtual_host_test()
1723 tt_assert(test_ok == 1) in http_virtual_host_test()
1741 tt_assert(test_ok == 1) in http_virtual_host_test()
1884 tt_assert(evcon); in http_dispatcher_test()
1895 tt_assert(req); in http_dispatcher_test()
1933 tt_assert(evcon); in http_post_test()
1941 tt_assert(req); in http_post_test()
1958 tt_assert(req); in http_post_test()
2072 tt_assert(evcon); in http_put_test()
2079 tt_assert(req); in http_put_test()
2224 tt_assert(req); in close_detect_done()
2225 tt_assert(evhttp_request_get_response_code(req) == HTTP_OK); in close_detect_done()
2291 tt_assert(evcon); in http_close_detection_()
2295 tt_assert(evcon); in http_close_detection_()
2317 tt_assert(TAILQ_FIRST(&http->connections) == NULL); in http_close_detection_()
2379 tt_assert(real_val != NULL); in validate_header()
2849 tt_assert(s); \ in http_uriencode_test()
2853 tt_assert(s2); \ in http_uriencode_test()
2863 tt_assert(s); \ in http_uriencode_test()
2872 tt_assert(s); \ in http_uriencode_test()
2897 tt_assert(s); in http_uriencode_test()
2905 tt_assert(s); in http_uriencode_test()
2924 tt_assert(!memcmp(s, "\0\0x\0\0", 5)); in http_uriencode_test()
2931 tt_assert(!memcmp(s, "\0\0x\0\0", 5)); in http_uriencode_test()
2962 tt_assert(base); in http_base_test()
3302 tt_assert(evcon); in http_chunk_out_test_impl()
3320 tt_assert(test_ok == 1); in http_chunk_out_test_impl()
3348 tt_assert(evcon); in http_stream_out_test_impl()
3418 tt_assert(evcon); in http_stream_in_test_()
3488 tt_assert(evcon); in http_stream_in_cancel_test()
3517 tt_assert(!req); in http_connection_fail_done()
3550 tt_assert(evcon); in http_connection_fail_test_impl()
3558 tt_assert(req); in http_connection_fail_test_impl()
3577 tt_assert(req); in http_connection_retry_done()
3624 tt_assert(evcon); in http_simple_test_impl()
3628 tt_assert(req); in http_simple_test_impl()
3665 tt_assert(evcon); in http_connection_retry_test_basic()
3667 tt_assert(!evhttp_connection_set_flags(evcon, EVHTTP_CON_REUSE_CONNECTED_ADDR)); in http_connection_retry_test_basic()
3679 tt_assert(req); in http_connection_retry_test_basic()
3714 tt_assert(req); in http_connection_retry_test_basic()
3731 tt_assert(test_ok == 1); in http_connection_retry_test_basic()
3743 tt_assert(req); in http_connection_retry_test_basic()
3784 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); in http_connection_retry_conn_address_test_impl()
3786 tt_assert(dns_base); in http_connection_retry_conn_address_test_impl()
3819 tt_assert(escaped); in http_primitives()
3824 tt_assert(escaped); in http_primitives()
3828 tt_assert(http); in http_primitives()
3920 tt_assert(evcon); in http_negative_content_length_test()
3950 tt_assert(req); in http_data_length_constraints_test_done()
3958 tt_assert(req); in http_large_entity_test_done()
3967 tt_assert(req); in http_expectation_failed_done()
3994 tt_assert(continue_size < size); in http_data_length_constraints_test_impl()
3997 tt_assert(evcon); in http_data_length_constraints_test_impl()
4000 tt_assert(!evhttp_connection_set_flags(evcon, EVHTTP_CON_READ_ON_WRITE_ERROR)); in http_data_length_constraints_test_impl()
4011 tt_assert(req); in http_data_length_constraints_test_impl()
4027 tt_assert(req); in http_data_length_constraints_test_impl()
4110 tt_assert(!evhttp_set_flags(http, EVHTTP_SERVER_LINGERING_CLOSE)); in http_lingering_close_test_impl()
4114 tt_assert(evcon); in http_lingering_close_test_impl()
4131 tt_assert(req); in http_lingering_close_test_impl()
4263 tt_assert(evhttp_set_cb(http, "/test", in http_terminate_chunked_test_impl()
4326 tt_assert(regress_dnsserver(data->base, &portnum, ipv6_search_table)); in http_ipv6_for_domain_test_impl()
4329 tt_assert(dns_base); in http_ipv6_for_domain_test_impl()
4358 tt_assert(evcon); in http_request_get_addr_on_close()
4361 tt_assert(storage); in http_request_get_addr_on_close()
4364 tt_assert(!strncmp(addrbuf, local, sizeof(local) - 1)); in http_request_get_addr_on_close()
4386 tt_assert(evcon); in http_get_addr_test()
4494 tt_assert(evcon); in http_request_own_test()