Bitcoin Core  27.99.0
P2P Digital Currency
optiontests.h
Go to the documentation of this file.
1 // Copyright (c) 2019-2022 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_TEST_OPTIONTESTS_H
6 #define BITCOIN_QT_TEST_OPTIONTESTS_H
7 
8 #include <common/settings.h>
9 #include <qt/optionsmodel.h>
10 #include <univalue.h>
11 
12 #include <QObject>
13 
14 class OptionTests : public QObject
15 {
16  Q_OBJECT
17 public:
19 
20 private Q_SLOTS:
21  void init(); // called before each test function execution.
22  void migrateSettings();
23  void integerGetArgBug();
24  void parametersInteraction();
25  void extractFilter();
26 
27 private:
30 };
31 
32 #endif // BITCOIN_QT_TEST_OPTIONTESTS_H
common::Settings m_previous_settings
Definition: optiontests.h:29
void extractFilter()
OptionTests(interfaces::Node &node)
Definition: optiontests.cpp:23
void integerGetArgBug()
Definition: optiontests.cpp:93
interfaces::Node & m_node
Definition: optiontests.h:28
void parametersInteraction()
void migrateSettings()
Definition: optiontests.cpp:35
Top-level interface for a bitcoin node (bitcoind process).
Definition: node.h:70
Definition: init.h:25
Stored settings.
Definition: settings.h:32