Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions
db_tests.cpp File Reference
#include <bitcoin-build-config.h>
#include <boost/test/unit_test.hpp>
#include <test/util/setup_common.h>
#include <util/check.h>
#include <util/fs.h>
#include <util/translation.h>
#include <wallet/migrate.h>
#include <wallet/test/util.h>
#include <wallet/walletutil.h>
#include <fstream>
#include <memory>
#include <string>
Include dependency graph for db_tests.cpp:

Go to the source code of this file.

Namespaces

namespace  wallet
 

Functions

std::ostream & operator<< (std::ostream &os, const std::pair< const SerializeData, SerializeData > &kv)
 
static Span< const std::byte > wallet::StringBytes (std::string_view str)
 
static SerializeData wallet::StringData (std::string_view str)
 
static void wallet::CheckPrefix (DatabaseBatch &batch, Span< const std::byte > prefix, MockableData expected)
 
static std::shared_ptr< BerkeleyEnvironment > wallet::GetWalletEnv (const fs::path &path, fs::path &database_filename)
 
 wallet::BOOST_AUTO_TEST_CASE (getwalletenv_file)
 
 wallet::BOOST_AUTO_TEST_CASE (getwalletenv_directory)
 
 wallet::BOOST_AUTO_TEST_CASE (getwalletenv_g_dbenvs_multiple)
 
 wallet::BOOST_AUTO_TEST_CASE (getwalletenv_g_dbenvs_free_instance)
 
static std::vector< std::unique_ptr< WalletDatabase > > wallet::TestDatabases (const fs::path &path_root)
 
 wallet::BOOST_AUTO_TEST_CASE (db_cursor_prefix_range_test)
 
 wallet::BOOST_AUTO_TEST_CASE (db_cursor_prefix_byte_test)
 
 wallet::BOOST_AUTO_TEST_CASE (db_availability_after_write_error)
 
 wallet::BOOST_AUTO_TEST_CASE (erase_prefix)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const std::pair< const SerializeData, SerializeData > &  kv 
)
inline

Definition at line 27 of file db_tests.cpp.

Here is the call graph for this function: