Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/test/walletdb_tests.cpp
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin 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. | ||||
#include "chainparams.h" | #include <wallet/walletdb.h> | ||||
#include "test/test_bitcoin.h" | |||||
#include "wallet/wallet.h" | #include <chainparams.h> | ||||
#include "wallet/walletdb.h" | #include <wallet/wallet.h> | ||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
namespace { | namespace { | ||||
struct WalletDBTestingSetup : public TestingSetup { | struct WalletDBTestingSetup : public TestingSetup { | ||||
WalletDBTestingSetup( | WalletDBTestingSetup( | ||||
const std::string &chainName = CBaseChainParams::MAIN) { | const std::string &chainName = CBaseChainParams::MAIN) { | ||||
bitdb.MakeMock(); | bitdb.MakeMock(); | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |