Bitcoin Core  24.99.0
P2P Digital Currency
optiontests.h
Go to the documentation of this file.
1 // Copyright (c) 2019 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 <qt/optionsmodel.h>
9 #include <univalue.h>
10 #include <util/settings.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
void extractFilter()
OptionTests(interfaces::Node &node)
Definition: optiontests.cpp:19
void integerGetArgBug()
Definition: optiontests.cpp:74
interfaces::Node & m_node
Definition: optiontests.h:28
void parametersInteraction()
Definition: optiontests.cpp:92
util::Settings m_previous_settings
Definition: optiontests.h:29
void migrateSettings()
Definition: optiontests.cpp:31
Top-level interface for a bitcoin node (bitcoind process).
Definition: node.h:70
Definition: init.h:25
Stored settings.
Definition: settings.h:31