Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Functions
dbwrapper_tests.cpp File Reference
#include <dbwrapper.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/string.h>
#include <memory>
#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

static bool is_null_key (const std::vector< unsigned char > &key)
 
 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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( dbwrapper  )

Definition at line 29 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 48 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 129 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 165 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 206 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 247 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 283 of file dbwrapper_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( iterator_string_ordering  )

Definition at line 351 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 389 of file dbwrapper_tests.cpp.

Here is the call graph for this function:

◆ is_null_key()

static bool is_null_key ( const std::vector< unsigned char > &  key)
static

Definition at line 18 of file dbwrapper_tests.cpp.

Here is the caller graph for this function: