Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
dbwrapper_tests.cpp File Reference
#include <dbwrapper.h>
#include <test/util/common.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/byte_units.h>
#include <util/string.h>
#include <fstream>
#include <memory>
#include <ranges>
#include <boost/test/unit_test.hpp>
Include dependency graph for dbwrapper_tests.cpp:

Go to the source code of this file.

Classes

struct  StringContentsSerializer

Functions

 BOOST_AUTO_TEST_CASE (dbwrapper)
 BOOST_AUTO_TEST_CASE (dbwrapper_basic_data)
 BOOST_AUTO_TEST_CASE (dbwrapper_batch)
 BOOST_AUTO_TEST_CASE (dbwrapper_read_returns_false_on_deserialization_error)
 BOOST_AUTO_TEST_CASE (dbwrapper_read_throws_on_db_error)
 BOOST_AUTO_TEST_CASE (dbwrapper_tryread)
 BOOST_AUTO_TEST_CASE (dbwrapper_iterator)
 BOOST_AUTO_TEST_CASE (existing_data_no_obfuscate)
 BOOST_AUTO_TEST_CASE (existing_data_reindex)
 BOOST_AUTO_TEST_CASE (iterator_ordering)
 BOOST_AUTO_TEST_CASE (iterator_string_ordering)
 BOOST_AUTO_TEST_CASE (unicodepath)
template<typename T>
std::string ToString (const T &t)
 Locale-independent version of std::to_string.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

BOOST_AUTO_TEST_CASE ( dbwrapper )

Definition at line 23 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/12]

BOOST_AUTO_TEST_CASE ( dbwrapper_basic_data )

Definition at line 74 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/12]

BOOST_AUTO_TEST_CASE ( dbwrapper_batch )

Definition at line 155 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/12]

BOOST_AUTO_TEST_CASE ( dbwrapper_iterator )

Definition at line 302 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/12]

BOOST_AUTO_TEST_CASE ( dbwrapper_read_returns_false_on_deserialization_error )

Definition at line 200 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/12]

BOOST_AUTO_TEST_CASE ( dbwrapper_read_throws_on_db_error )

Definition at line 221 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( dbwrapper_tryread )

Definition at line 260 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/12]

BOOST_AUTO_TEST_CASE ( existing_data_no_obfuscate )

Definition at line 365 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/12]

BOOST_AUTO_TEST_CASE ( existing_data_reindex )

Definition at line 406 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/12]

BOOST_AUTO_TEST_CASE ( iterator_ordering )

Definition at line 442 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/12]

BOOST_AUTO_TEST_CASE ( iterator_string_ordering )

Definition at line 510 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/12]

BOOST_AUTO_TEST_CASE ( unicodepath )

Definition at line 548 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ ToString()

template<typename T>
std::string util::ToString ( const T & t)

Locale-independent version of std::to_string.

Definition at line 250 of file string.h.