|
| | DEFINE_ZAP_ERROR_TESTS (curve, &socket_config_curve_server, valid_server_secret, &socket_config_curve_client, &curve_client_data) int main() |
| |
| | DEFINE_ZAP_ERROR_TESTS (null, &socket_config_null_server, NULL, &socket_config_null_client, NULL) DEFINE_ZAP_ERROR_TESTS(plain |
| |
| int | expect_new_client_bounce_fail_and_count_monitor_events (char *my_endpoint_, void *server_, socket_config_fn socket_config_, void *socket_config_data_, void **client_mon_, void *server_mon_, int expected_server_event_, int expected_server_value_, int expected_client_event_=0, int expected_client_value_=0) |
| |
| void | test_zap_protocol_error (char *my_endpoint_, void *server_, void *server_mon_, socket_config_fn socket_config_, void *socket_config_data_, int expected_error_) |
| |
| static void | test_zap_protocol_error_closure (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_, zmq_thread_fn zap_handler_, int expected_failure_) |
| |
| static void | test_zap_protocol_error_too_many_parts (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_) |
| |
| static void | test_zap_protocol_error_wrong_request_id (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_) |
| |
| static void | test_zap_protocol_error_wrong_status_invalid (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_) |
| |
| static void | test_zap_protocol_error_wrong_version (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_) |
| |
| static void | test_zap_unsuccesful_disconnect (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_) |
| |
| static void | test_zap_unsuccesful_do_not_recv (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_) |
| |
| static void | test_zap_unsuccesful_do_not_send (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_) |
| |
| static void | test_zap_unsuccesful_no_handler_closure (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, zmq_thread_fn zap_handler_func_, bool zap_handler_disconnected_=false) |
| |
| static void | test_zap_unsuccesful_no_handler_started (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_) |
| |
| void | test_zap_unsuccessful (char *my_endpoint_, void *server_, void *server_mon_, int expected_server_event_, int expected_server_value_, socket_config_fn socket_config_, void *socket_config_data_, void **client_mon_=NULL, int expected_client_event_=0, int expected_client_value_=0) |
| |
| void | test_zap_unsuccessful_no_handler (char *my_endpoint_, void *server_, void *server_mon_, int expected_event_, int expected_err_, socket_config_fn socket_config_, void *socket_config_data_, void **client_mon_=NULL) |
| |
| void | test_zap_unsuccessful_status_300 (char *my_endpoint_, void *server_, void *server_mon_, socket_config_fn client_socket_config_, void *client_socket_config_data_) |
| |
| void | test_zap_unsuccessful_status_500 (char *my_endpoint_, void *server_, void *server_mon_, socket_config_fn client_socket_config_, void *client_socket_config_data_) |
| |
| static void | test_zap_wrong_status_internal_error (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_) |
| |
| static void | test_zap_wrong_status_temporary_failure (socket_config_fn server_socket_config_, socket_config_fn client_socket_config_, void *client_socket_config_data_, void *server_socket_config_data_) |
| |
| static void | zap_handler_disconnect (void *) |
| |
| static void | zap_handler_do_not_recv (void *) |
| |
| static void | zap_handler_do_not_send (void *) |
| |
| static void | zap_handler_too_many_parts (void *) |
| |
| static void | zap_handler_wrong_request_id (void *) |
| |
| static void | zap_handler_wrong_status_internal_error (void *) |
| |
| static void | zap_handler_wrong_status_invalid (void *) |
| |
| static void | zap_handler_wrong_status_temporary_failure (void *) |
| |
| static SETUP_TEARDOWN_TESTCONTEXT void | zap_handler_wrong_version (void *) |
| |