Functions | Variables
test_spec_req.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
Include dependency graph for test_spec_req.cpp:

Go to the source code of this file.

Functions

int main ()
 
void test_block_on_send_no_peers ()
 
void test_req_message_format (const char *bind_address_)
 
void test_req_message_format_inproc ()
 
void test_req_message_format_tcp ()
 
void test_req_only_listens_to_current_peer (const char *bind_address_)
 
void test_req_only_listens_to_current_peer_inproc ()
 
void test_req_only_listens_to_current_peer_tcp ()
 
void test_round_robin_out (const char *bind_address_)
 
void test_round_robin_out_inproc ()
 
void test_round_robin_out_tcp ()
 

Variables

const char bind_inproc [] = "inproc://a"
 
const char bind_tcp [] = "tcp://127.0.0.1:*"
 
SETUP_TEARDOWN_TESTCONTEXT char connect_address [MAX_SOCKET_STRING]
 

Function Documentation

◆ main()

int main ( )

Definition at line 195 of file test_spec_req.cpp.

◆ test_block_on_send_no_peers()

void test_block_on_send_no_peers ( )

Definition at line 148 of file test_spec_req.cpp.

◆ test_req_message_format()

void test_req_message_format ( const char *  bind_address_)

Definition at line 99 of file test_spec_req.cpp.

◆ test_req_message_format_inproc()

void test_req_message_format_inproc ( )

Definition at line 175 of file test_spec_req.cpp.

◆ test_req_message_format_tcp()

void test_req_message_format_tcp ( )

Definition at line 180 of file test_spec_req.cpp.

◆ test_req_only_listens_to_current_peer()

void test_req_only_listens_to_current_peer ( const char *  bind_address_)

Definition at line 44 of file test_spec_req.cpp.

◆ test_req_only_listens_to_current_peer_inproc()

void test_req_only_listens_to_current_peer_inproc ( )

Definition at line 185 of file test_spec_req.cpp.

◆ test_req_only_listens_to_current_peer_tcp()

void test_req_only_listens_to_current_peer_tcp ( )

Definition at line 190 of file test_spec_req.cpp.

◆ test_round_robin_out()

void test_round_robin_out ( const char *  bind_address_)

Definition at line 10 of file test_spec_req.cpp.

◆ test_round_robin_out_inproc()

void test_round_robin_out_inproc ( )

Definition at line 165 of file test_spec_req.cpp.

◆ test_round_robin_out_tcp()

void test_round_robin_out_tcp ( )

Definition at line 170 of file test_spec_req.cpp.

Variable Documentation

◆ bind_inproc

const char bind_inproc[] = "inproc://a"

Definition at line 162 of file test_spec_req.cpp.

◆ bind_tcp

const char bind_tcp[] = "tcp://127.0.0.1:*"

Definition at line 163 of file test_spec_req.cpp.

◆ connect_address

Definition at line 8 of file test_spec_req.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04