|
Electroneum
|
#include <boost/thread/mutex.hpp>#include <boost/thread/thread.hpp>#include "gtest/gtest.h"#include "include_base_utils.h"#include "string_tools.h"#include "net/levin_protocol_handler_async.h"#include "net/net_utils_base.h"#include "unit_tests_utils.h"
Go to the source code of this file.
Functions | |
| TEST_F (positive_test_connection_to_levin_protocol_handler_calls, new_handler_is_not_initialized) | |
| TEST_F (positive_test_connection_to_levin_protocol_handler_calls, handler_initialization_and_destruction_is_correct) | |
| TEST_F (positive_test_connection_to_levin_protocol_handler_calls, concurent_handler_initialization_and_destruction_is_correct) | |
| TEST_F (positive_test_connection_to_levin_protocol_handler_calls, handler_processes_handle_read_as_invoke) | |
| TEST_F (positive_test_connection_to_levin_protocol_handler_calls, handler_processes_handle_read_as_notify) | |
| TEST_F (positive_test_connection_to_levin_protocol_handler_calls, handler_processes_qued_callback) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_big_packet_1) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_big_packet_2) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_invalid_signature_for_full_header) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_invalid_signature_for_partial_header) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_big_cb) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, does_not_handle_data_after_close) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_network_error) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_chunked_header) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_chunked_body) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_two_requests_at_once) | |
| TEST_F (test_levin_protocol_handler__hanle_recv_with_invalid_data, handles_unexpected_response) | |
| TEST_F | ( | positive_test_connection_to_levin_protocol_handler_calls | , |
| new_handler_is_not_initialized | |||
| ) |
Definition at line 273 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | positive_test_connection_to_levin_protocol_handler_calls | , |
| handler_initialization_and_destruction_is_correct | |||
| ) |
Definition at line 284 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | positive_test_connection_to_levin_protocol_handler_calls | , |
| concurent_handler_initialization_and_destruction_is_correct | |||
| ) |
Definition at line 295 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | positive_test_connection_to_levin_protocol_handler_calls | , |
| handler_processes_handle_read_as_invoke | |||
| ) |
Definition at line 329 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | positive_test_connection_to_levin_protocol_handler_calls | , |
| handler_processes_handle_read_as_notify | |||
| ) |
Definition at line 386 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | positive_test_connection_to_levin_protocol_handler_calls | , |
| handler_processes_qued_callback | |||
| ) |
Definition at line 418 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_big_packet_1 | |||
| ) |
Definition at line 429 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_big_packet_2 | |||
| ) |
Definition at line 435 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_invalid_signature_for_full_header | |||
| ) |
Definition at line 446 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_invalid_signature_for_partial_header | |||
| ) |
Definition at line 454 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_big_cb | |||
| ) |
Definition at line 463 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| does_not_handle_data_after_close | |||
| ) |
Definition at line 471 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_network_error | |||
| ) |
Definition at line 479 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_chunked_header | |||
| ) |
Definition at line 487 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_chunked_body | |||
| ) |
Definition at line 505 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_two_requests_at_once | |||
| ) |
Definition at line 522 of file epee_levin_protocol_handler_async.cpp.
| TEST_F | ( | test_levin_protocol_handler__hanle_recv_with_invalid_data | , |
| handles_unexpected_response | |||
| ) |
Definition at line 531 of file epee_levin_protocol_handler_async.cpp.