Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
wallet::InitWalletDirTestingSetup Struct Reference

#include <init_test_fixture.h>

Inheritance diagram for wallet::InitWalletDirTestingSetup:
[legend]
Collaboration diagram for wallet::InitWalletDirTestingSetup:
[legend]

Public Member Functions

 InitWalletDirTestingSetup (const ChainType chain_type=ChainType::MAIN)
 
 ~InitWalletDirTestingSetup ()
 
void SetWalletDir (const fs::path &walletdir_path)
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Public Attributes

fs::path m_datadir
 
fs::path m_cwd
 
std::map< std::string, fs::pathm_walletdir_path_cases
 
std::unique_ptr< interfaces::WalletLoaderm_wallet_loader
 
- Public Attributes inherited from BasicTestingSetup
util::SignalInterrupt m_interrupt
 
node::NodeContext m_node
 
fs::path m_path_root
 
fs::path m_path_lock
 
bool m_has_custom_datadir {false}
 
ArgsManager m_args
 

Detailed Description

Definition at line 16 of file init_test_fixture.h.

Constructor & Destructor Documentation

◆ InitWalletDirTestingSetup()

wallet::InitWalletDirTestingSetup::InitWalletDirTestingSetup ( const ChainType  chain_type = ChainType::MAIN)
explicit

Definition at line 17 of file init_test_fixture.cpp.

Here is the call graph for this function:

◆ ~InitWalletDirTestingSetup()

wallet::InitWalletDirTestingSetup::~InitWalletDirTestingSetup ( )

Definition at line 43 of file init_test_fixture.cpp.

Member Function Documentation

◆ SetWalletDir()

void wallet::InitWalletDirTestingSetup::SetWalletDir ( const fs::path walletdir_path)

Definition at line 48 of file init_test_fixture.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_cwd

fs::path wallet::InitWalletDirTestingSetup::m_cwd

Definition at line 22 of file init_test_fixture.h.

◆ m_datadir

fs::path wallet::InitWalletDirTestingSetup::m_datadir

Definition at line 21 of file init_test_fixture.h.

◆ m_wallet_loader

std::unique_ptr<interfaces::WalletLoader> wallet::InitWalletDirTestingSetup::m_wallet_loader

Definition at line 24 of file init_test_fixture.h.

◆ m_walletdir_path_cases

std::map<std::string, fs::path> wallet::InitWalletDirTestingSetup::m_walletdir_path_cases

Definition at line 23 of file init_test_fixture.h.


The documentation for this struct was generated from the following files: