Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
message_writer_tests.cpp File Reference
#include <hash.h>
#include <primitives/block.h>
#include <protocol.h>
#include <seeder/messagewriter.h>
#include <streams.h>
#include <version.h>
#include <boost/test/unit_test.hpp>
#include <string>
#include <vector>
Include dependency graph for message_writer_tests.cpp:

Go to the source code of this file.

Functions

template<typename... Args>
static void CheckMessage (CDataStream &expectedMessage, std::string command, Args &&...args)
 
 BOOST_AUTO_TEST_CASE (simple_header_and_payload_message_writer_test)
 
 BOOST_AUTO_TEST_CASE (header_empty_payload_message_writer_test)
 
 BOOST_AUTO_TEST_CASE (write_getheaders_message_test)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( header_empty_payload_message_writer_test  )

Definition at line 58 of file message_writer_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

Definition at line 30 of file message_writer_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( write_getheaders_message_test  )

Definition at line 72 of file message_writer_tests.cpp.

Here is the call graph for this function:

◆ CheckMessage()

template<typename... Args>
static void CheckMessage ( CDataStream expectedMessage,
std::string  command,
Args &&...  args 
)
static

Definition at line 20 of file message_writer_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: