#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.
◆ BOOST_AUTO_TEST_CASE() [1/13]
BOOST_AUTO_TEST_CASE |
( |
array |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/13]
BOOST_AUTO_TEST_CASE |
( |
class_methods |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/13]
BOOST_AUTO_TEST_CASE |
( |
compactsize |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/13]
BOOST_AUTO_TEST_CASE |
( |
noncanonical |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/13]
BOOST_AUTO_TEST_CASE |
( |
sizes |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/13]
BOOST_AUTO_TEST_CASE |
( |
varints |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [7/13]
BOOST_AUTO_TEST_CASE |
( |
varints_bitpatterns |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [8/13]
BOOST_AUTO_TEST_CASE |
( |
vector_bool |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [9/13]
BOOST_AUTO_TEST_CASE |
( |
with_params_base |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [10/13]
BOOST_AUTO_TEST_CASE |
( |
with_params_derived |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [11/13]
BOOST_AUTO_TEST_CASE |
( |
with_params_move |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [12/13]
BOOST_AUTO_TEST_CASE |
( |
with_params_multi |
| ) |
|
Test creating a stream with multiple parameters and making sure serialization code requiring different parameters can retrieve them.
Also test that earlier parameters take precedence if the same parameter type is specified twice. (Choice of whether earlier or later values take precedence or multiple values of the same type are allowed was arbitrary, and just decided based on what would require smallest amount of ugly C++ template code. Intent of the test is to just ensure there is no unexpected behavior.)
Definition at line 394 of file serialize_tests.cpp.
◆ BOOST_AUTO_TEST_CASE() [13/13]
BOOST_AUTO_TEST_CASE |
( |
with_params_vector_of_base |
| ) |
|
◆ isCanonicalException()
static bool isCanonicalException |
( |
const std::ios_base::failure & |
ex | ) |
|
|
static |
◆ HEX
◆ HEX_UPPER
◆ RAW
◆ RAW_LOWER