Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/rpcnestedtests.h
// Copyright (c) 2016 The Bitcoin Core developers | // Copyright (c) 2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_QT_TEST_RPCNESTEDTESTS_H | #ifndef BITCOIN_QT_TEST_RPCNESTEDTESTS_H | ||||
#define BITCOIN_QT_TEST_RPCNESTEDTESTS_H | #define BITCOIN_QT_TEST_RPCNESTEDTESTS_H | ||||
#include <QObject> | #include <QObject> | ||||
#include <QTest> | #include <QTest> | ||||
namespace interfaces { | namespace interfaces { | ||||
class Node; | class Node; | ||||
} // namespace interfaces | } // namespace interfaces | ||||
class RPCNestedTests : public QObject { | class RPCNestedTests : public QObject { | ||||
public: | public: | ||||
RPCNestedTests(interfaces::Node &node) : m_node(node) {} | explicit RPCNestedTests(interfaces::Node &node) : m_node(node) {} | ||||
interfaces::Node &m_node; | interfaces::Node &m_node; | ||||
Q_OBJECT | Q_OBJECT | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void rpcNestedTests(); | void rpcNestedTests(); | ||||
}; | }; | ||||
#endif // BITCOIN_QT_TEST_RPCNESTEDTESTS_H | #endif // BITCOIN_QT_TEST_RPCNESTEDTESTS_H |