Bitcoin Core  21.99.0
P2P Digital Currency
Functions
db_tests.cpp File Reference
#include <memory>
#include <boost/test/unit_test.hpp>
#include <fs.h>
#include <test/util/setup_common.h>
#include <wallet/bdb.h>
Include dependency graph for db_tests.cpp:

Go to the source code of this file.

Functions

static std::shared_ptr< BerkeleyEnvironmentGetWalletEnv (const fs::path &path, std::string &database_filename)
 
 BOOST_AUTO_TEST_CASE (getwalletenv_file)
 
 BOOST_AUTO_TEST_CASE (getwalletenv_directory)
 
 BOOST_AUTO_TEST_CASE (getwalletenv_g_dbenvs_multiple)
 
 BOOST_AUTO_TEST_CASE (getwalletenv_g_dbenvs_free_instance)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( getwalletenv_file  )

Definition at line 23 of file db_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( getwalletenv_directory  )

Definition at line 37 of file db_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( getwalletenv_g_dbenvs_multiple  )

Definition at line 48 of file db_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( getwalletenv_g_dbenvs_free_instance  )

Definition at line 62 of file db_tests.cpp.

Here is the call graph for this function:

◆ GetWalletEnv()

static std::shared_ptr<BerkeleyEnvironment> GetWalletEnv ( const fs::path &  path,
std::string &  database_filename 
)
static

Definition at line 16 of file db_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: