1
0
mirror of https://github.com/kvazar-network/kevacoin.git synced 2025-03-12 21:52:22 +00:00
kevacoin/src/wallet/test/wallet_test_fixture.h
Luke Dashjr 18b0c69e2f
Bugfix: Include <memory> for std::unique_ptr
GitHub-Pull: 
Rebased-From: a5bca13
2018-06-13 16:07:44 +08:00

25 lines
617 B
C++

// Copyright (c) 2016-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLET_TEST_FIXTURE_H
#define BITCOIN_WALLET_TEST_FIXTURE_H
#include <test/test_bitcoin.h>
#include <wallet/wallet.h>
#include <memory>
/** Testing setup and teardown for wallet.
*/
struct WalletTestingSetup: public TestingSetup {
explicit WalletTestingSetup(const std::string& chainName = CBaseChainParams::MAIN);
~WalletTestingSetup();
std::unique_ptr<CWallet> pwalletMain;
};
#endif