addressbooktests.h raw

   1  // Copyright (c) 2018-present 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_ADDRESSBOOKTESTS_H
   6  #define BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
   7  
   8  #include <QObject>
   9  #include <QTest>
  10  
  11  namespace interfaces {
  12  class Node;
  13  } // namespace interfaces
  14  
  15  class AddressBookTests : public QObject
  16  {
  17  public:
  18      explicit AddressBookTests(interfaces::Node& node) : m_node(node) {}
  19      interfaces::Node& m_node;
  20  
  21      Q_OBJECT
  22  
  23  private Q_SLOTS:
  24      void addressBookTests();
  25  };
  26  
  27  #endif // BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
  28