Bitcoin Core  27.99.0
P2P Digital Currency
Public Types | Public Member Functions | Static Public Attributes | List of all members
MergeTestingSetup Struct Reference
Inheritance diagram for MergeTestingSetup:
[legend]
Collaboration diagram for MergeTestingSetup:
[legend]

Public Types

enum  Action {
  END , SET , NEGATE , SECTION_SET ,
  SECTION_NEGATE
}
 
using ActionList = Action[MAX_ACTIONS]
 

Public Member Functions

template<typename Fn >
void ForEachMergeSetup (Fn &&fn)
 Enumerate all possible test configurations. More...
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Static Public Attributes

static constexpr int MAX_ACTIONS = 3
 Max number of actions to sequence together. More...
 

Additional Inherited Members

- 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 155 of file settings_tests.cpp.

Member Typedef Documentation

◆ ActionList

Definition at line 161 of file settings_tests.cpp.

Member Enumeration Documentation

◆ Action

Enumerator
END 
SET 
NEGATE 
SECTION_SET 
SECTION_NEGATE 

Definition at line 160 of file settings_tests.cpp.

Member Function Documentation

◆ ForEachMergeSetup()

template<typename Fn >
void MergeTestingSetup::ForEachMergeSetup ( Fn &&  fn)
inline

Enumerate all possible test configurations.

Definition at line 165 of file settings_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ MAX_ACTIONS

constexpr int MergeTestingSetup::MAX_ACTIONS = 3
staticconstexpr

Max number of actions to sequence together.

Can decrease this when debugging to make test results easier to understand.

Definition at line 158 of file settings_tests.cpp.


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