|
Electroneum
|
#include <atomic>#include <boost/archive/portable_binary_oarchive.hpp>#include <boost/archive/portable_binary_iarchive.hpp>#include <boost/asio/buffer.hpp>#include <boost/asio/io_service.hpp>#include <boost/asio/ip/tcp.hpp>#include <boost/asio/read.hpp>#include <boost/asio/steady_timer.hpp>#include <boost/asio/write.hpp>#include <boost/endian/conversion.hpp>#include <boost/system/error_code.hpp>#include <boost/thread/scoped_thread.hpp>#include <boost/thread/thread.hpp>#include <cstring>#include <functional>#include <gtest/gtest.h>#include <memory>#include "net/error.h"#include "net/net_utils_base.h"#include "net/socks.h"#include "net/socks_connect.h"#include "net/parse.h"#include "net/tor_address.h"#include "net/zmq.h"#include "p2p/net_peerlist_boost_serialization.h"#include "serialization/keyvalue_serialization.h"#include "storages/portable_storage.h"
Go to the source code of this file.
Functions | |
| TEST (tor_address, constants) | |
| TEST (tor_address, invalid) | |
| TEST (tor_address, unblockable_types) | |
| TEST (tor_address, valid) | |
| TEST (tor_address, generic_network_address) | |
| TEST (tor_address, epee_serializev_v2) | |
| TEST (tor_address, epee_serializev_v3) | |
| TEST (tor_address, epee_serialize_unknown) | |
| TEST (tor_address, boost_serialize_v2) | |
| TEST (tor_address, boost_serialize_v3) | |
| TEST (tor_address, boost_serialize_unknown) | |
| TEST (get_network_address, onion) | |
| TEST (get_network_address, ipv4) | |
| TEST (socks_client, unsupported_command) | |
| TEST (socks_client, no_command) | |
| TEST (socks_client, connect_command) | |
| TEST (socks_client, connect_command_failed) | |
| TEST (socks_client, resolve_command) | |
| TEST (socks_connector, host) | |
| TEST (socks_connector, ipv4) | |
| TEST (socks_connector, error) | |
| TEST (socks_connector, timeout) | |
| TEST (zmq, error_codes) | |
| TEST (zmq, read_write) | |
| TEST (zmq, read_write_multipart) | |
| TEST (zmq, read_write_termination) | |
| TEST | ( | tor_address | , |
| constants | |||
| ) |
Definition at line 66 of file net.cpp.

| TEST | ( | tor_address | , |
| invalid | |||
| ) |
Definition at line 78 of file net.cpp.

| TEST | ( | tor_address | , |
| unblockable_types | |||
| ) |
Definition at line 98 of file net.cpp.

| TEST | ( | tor_address | , |
| valid | |||
| ) |
Definition at line 126 of file net.cpp.

| TEST | ( | tor_address | , |
| generic_network_address | |||
| ) |
Definition at line 188 of file net.cpp.

| TEST | ( | tor_address | , |
| epee_serializev_v2 | |||
| ) |
Definition at line 223 of file net.cpp.

| TEST | ( | tor_address | , |
| epee_serializev_v3 | |||
| ) |
Definition at line 274 of file net.cpp.

| TEST | ( | tor_address | , |
| epee_serialize_unknown | |||
| ) |
Definition at line 325 of file net.cpp.

| TEST | ( | tor_address | , |
| boost_serialize_v2 | |||
| ) |
Definition at line 376 of file net.cpp.

| TEST | ( | tor_address | , |
| boost_serialize_v3 | |||
| ) |
Definition at line 411 of file net.cpp.

| TEST | ( | tor_address | , |
| boost_serialize_unknown | |||
| ) |
Definition at line 446 of file net.cpp.

| TEST | ( | get_network_address | , |
| onion | |||
| ) |
Definition at line 481 of file net.cpp.

| TEST | ( | get_network_address | , |
| ipv4 | |||
| ) |
Definition at line 507 of file net.cpp.

| TEST | ( | socks_client | , |
| unsupported_command | |||
| ) |
Definition at line 582 of file net.cpp.

| TEST | ( | socks_client | , |
| no_command | |||
| ) |
Definition at line 600 of file net.cpp.

| TEST | ( | socks_client | , |
| connect_command | |||
| ) |
Definition at line 612 of file net.cpp.

| TEST | ( | socks_client | , |
| connect_command_failed | |||
| ) |
Definition at line 645 of file net.cpp.

| TEST | ( | socks_client | , |
| resolve_command | |||
| ) |
Definition at line 681 of file net.cpp.

| TEST | ( | socks_connector | , |
| host | |||
| ) |
Definition at line 752 of file net.cpp.
| TEST | ( | socks_connector | , |
| ipv4 | |||
| ) |
Definition at line 779 of file net.cpp.
| TEST | ( | socks_connector | , |
| error | |||
| ) |
Definition at line 805 of file net.cpp.
| TEST | ( | socks_connector | , |
| timeout | |||
| ) |
Definition at line 831 of file net.cpp.
| TEST | ( | zmq | , |
| error_codes | |||
| ) |
Definition at line 844 of file net.cpp.

| TEST | ( | zmq | , |
| read_write | |||
| ) |
Definition at line 876 of file net.cpp.

| TEST | ( | zmq | , |
| read_write_multipart | |||
| ) |
Definition at line 900 of file net.cpp.

| TEST | ( | zmq | , |
| read_write_termination | |||
| ) |
Definition at line 934 of file net.cpp.
