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

Public Types

enum  Action {
  NONE, ENABLE_TEST, DISABLE_TEST, NEGATE_TEST,
  ENABLE_REG, DISABLE_REG, NEGATE_REG
}
 
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 std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Static Public Attributes

static constexpr int MAX_ACTIONS = 2
 

Additional Inherited Members

- Public Attributes inherited from BasicTestingSetup
ECCVerifyHandle globalVerifyHandle
 
NodeContext m_node
 
const fs::path m_path_root
 
ArgsManager m_args
 

Detailed Description

Definition at line 1078 of file util_tests.cpp.

Member Typedef Documentation

◆ ActionList

Definition at line 1082 of file util_tests.cpp.

Member Enumeration Documentation

◆ Action

Enumerator
NONE 
ENABLE_TEST 
DISABLE_TEST 
NEGATE_TEST 
ENABLE_REG 
DISABLE_REG 
NEGATE_REG 

Definition at line 1081 of file util_tests.cpp.

Member Function Documentation

◆ ForEachMergeSetup()

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

Enumerate all possible test configurations.

Definition at line 1086 of file util_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ MAX_ACTIONS

constexpr int ChainMergeTestingSetup::MAX_ACTIONS = 2
staticconstexpr

Definition at line 1079 of file util_tests.cpp.


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