![]() |
Bitcoin Core
27.1.0
P2P Digital Currency
|
#include <hash.h>#include <serialize.h>#include <streams.h>#include <test/util/setup_common.h>#include <util/strencodings.h>#include <stdint.h>#include <string>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| class | CSerializeMethodsTestSingle |
| class | CSerializeMethodsTestMany |
| struct | BaseFormat |
| class | Base |
| (Un)serialize a number as raw byte or 2 hexadecimal chars. More... | |
| class | DerivedAndBaseFormat |
| class | Derived |
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 (array) | |
| BOOST_AUTO_TEST_CASE (noncanonical) | |
| BOOST_AUTO_TEST_CASE (class_methods) | |
| BOOST_AUTO_TEST_CASE (with_params_base) | |
| BOOST_AUTO_TEST_CASE (with_params_vector_of_base) | |
| BOOST_AUTO_TEST_CASE (with_params_derived) | |
Variables | |
| constexpr BaseFormat | RAW {BaseFormat::RAW} |
| constexpr BaseFormat | HEX {BaseFormat::HEX} |
| constexpr DerivedAndBaseFormat | RAW_LOWER {{BaseFormat::RAW}, DerivedAndBaseFormat::DerivedFormat::LOWER} |
| constexpr DerivedAndBaseFormat | HEX_UPPER {{BaseFormat::HEX}, DerivedAndBaseFormat::DerivedFormat::UPPER} |
| BOOST_AUTO_TEST_CASE | ( | sizes | ) |
| BOOST_AUTO_TEST_CASE | ( | varints | ) |
| BOOST_AUTO_TEST_CASE | ( | varints_bitpatterns | ) |
| BOOST_AUTO_TEST_CASE | ( | compactsize | ) |
| BOOST_AUTO_TEST_CASE | ( | vector_bool | ) |
Definition at line 175 of file serialize_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | array | ) |
Definition at line 184 of file serialize_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | noncanonical | ) |
| BOOST_AUTO_TEST_CASE | ( | class_methods | ) |
| BOOST_AUTO_TEST_CASE | ( | with_params_base | ) |
| BOOST_AUTO_TEST_CASE | ( | with_params_vector_of_base | ) |
| BOOST_AUTO_TEST_CASE | ( | with_params_derived | ) |
|
static |
| constexpr BaseFormat HEX {BaseFormat::HEX} |
Definition at line 278 of file serialize_tests.cpp.
| constexpr DerivedAndBaseFormat HEX_UPPER {{BaseFormat::HEX}, DerivedAndBaseFormat::DerivedFormat::UPPER} |
Definition at line 398 of file serialize_tests.cpp.
| constexpr BaseFormat RAW {BaseFormat::RAW} |
Definition at line 277 of file serialize_tests.cpp.
| constexpr DerivedAndBaseFormat RAW_LOWER {{BaseFormat::RAW}, DerivedAndBaseFormat::DerivedFormat::LOWER} |
Definition at line 397 of file serialize_tests.cpp.
1.8.14