![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
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 | |
| void | SeedRandomForTest (SeedRand seed) |
| Seed the global RNG state and m_rng for testing and log the seed value. More... | |
| BasicTestingSetup (const ChainType chainType=ChainType::MAIN, TestOpts={}) | |
| ~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 |
| FastRandomContext | m_rng |
| fs::path | m_path_root |
| fs::path | m_path_lock |
| bool | m_has_custom_datadir {false} |
| ArgsManager | m_args |
| Test-specific arguments and settings. More... | |
Definition at line 157 of file settings_tests.cpp.
Definition at line 163 of file settings_tests.cpp.
| Enumerator | |
|---|---|
| END | |
| SET | |
| NEGATE | |
| SECTION_SET | |
| SECTION_NEGATE | |
Definition at line 162 of file settings_tests.cpp.
|
inline |
Enumerate all possible test configurations.
Definition at line 167 of file settings_tests.cpp.
|
staticconstexpr |
Max number of actions to sequence together.
Can decrease this when debugging to make test results easier to understand.
Definition at line 160 of file settings_tests.cpp.