2020-12-31 09:48:25 +01:00
|
|
|
// Copyright (c) 2018-2020 The Bitcoin Core developers
|
2019-12-07 18:14:40 +02:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2018-03-29 10:59:57 -04:00
|
|
|
#ifndef BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
|
|
|
|
#define BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QTest>
|
|
|
|
|
2019-09-17 18:28:03 -04:00
|
|
|
namespace interfaces {
|
|
|
|
class Node;
|
|
|
|
} // namespace interfaces
|
|
|
|
|
2018-03-29 10:59:57 -04:00
|
|
|
class AddressBookTests : public QObject
|
|
|
|
{
|
2019-09-17 18:28:03 -04:00
|
|
|
public:
|
2020-11-29 19:33:22 +01:00
|
|
|
explicit AddressBookTests(interfaces::Node& node) : m_node(node) {}
|
2019-09-17 18:28:03 -04:00
|
|
|
interfaces::Node& m_node;
|
|
|
|
|
2018-03-29 10:59:57 -04:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void addressBookTests();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
|