Bitcoin Core 31.0.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/string.h>
#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_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/9]

BOOST_AUTO_TEST_CASE ( dbwrapper )

Definition at line 21 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( dbwrapper_basic_data )

Definition at line 72 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( dbwrapper_batch )

Definition at line 153 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( dbwrapper_iterator )

Definition at line 189 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( existing_data_no_obfuscate )

Definition at line 230 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( existing_data_reindex )

Definition at line 271 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( iterator_ordering )

Definition at line 307 of file dbwrapper_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( iterator_string_ordering )

Definition at line 375 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( unicodepath )

Definition at line 413 of file dbwrapper_tests.cpp.

◆ ToString()

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

Locale-independent version of std::to_string.

Definition at line 246 of file string.h.

Here is the caller graph for this function: