Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Functions
serialize_tests.cpp File Reference
#include <hash.h>
#include <serialize.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <stdint.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for serialize_tests.cpp:

Go to the source code of this file.

Classes

class  CSerializeMethodsTestSingle
 
class  CSerializeMethodsTestMany
 

Functions

 BOOST_AUTO_TEST_CASE (sizes)
 
 BOOST_AUTO_TEST_CASE (varints)
 
 BOOST_AUTO_TEST_CASE (varints_bitpatterns)
 
 BOOST_AUTO_TEST_CASE (compactsize)
 
static bool isCanonicalException (const std::ios_base::failure &ex)
 
 BOOST_AUTO_TEST_CASE (vector_bool)
 
 BOOST_AUTO_TEST_CASE (noncanonical)
 
 BOOST_AUTO_TEST_CASE (insert_delete)
 
 BOOST_AUTO_TEST_CASE (class_methods)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( class_methods  )

Definition at line 261 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/8]

BOOST_AUTO_TEST_CASE ( compactsize  )

Definition at line 142 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/8]

BOOST_AUTO_TEST_CASE ( insert_delete  )

Definition at line 218 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/8]

BOOST_AUTO_TEST_CASE ( noncanonical  )

Definition at line 181 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/8]

BOOST_AUTO_TEST_CASE ( sizes  )

Definition at line 62 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( varints  )

Definition at line 89 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( varints_bitpatterns  )

Definition at line 121 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/8]

BOOST_AUTO_TEST_CASE ( vector_bool  )

Definition at line 172 of file serialize_tests.cpp.

Here is the call graph for this function:

◆ isCanonicalException()

static bool isCanonicalException ( const std::ios_base::failure &  ex)
static

Definition at line 161 of file serialize_tests.cpp.

Here is the caller graph for this function: