mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 17:54:19 +02:00
tests: Reduce compilation time and unneccessary recompiles by removing unused includes in tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <fs.h>
|
||||
#include <util/system.h>
|
||||
|
||||
#include <wallet/test/init_test_fixture.h>
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include <test/setup_common.h>
|
||||
#include <util/system.h>
|
||||
#include <wallet/test/init_test_fixture.h>
|
||||
|
||||
BOOST_FIXTURE_TEST_SUITE(init_tests, InitWalletDirTestingSetup)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <key.h>
|
||||
#include <script/script.h>
|
||||
#include <script/script_error.h>
|
||||
#include <script/standard.h>
|
||||
#include <test/setup_common.h>
|
||||
#include <wallet/ismine.h>
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <key_io.h>
|
||||
#include <script/sign.h>
|
||||
#include <util/bip32.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <wallet/psbtwallet.h>
|
||||
#include <wallet/wallet.h>
|
||||
#include <univalue.h>
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <test/setup_common.h>
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
#include <wallet/test/wallet_test_fixture.h>
|
||||
|
||||
#include <wallet/db.h>
|
||||
|
||||
WalletTestingSetup::WalletTestingSetup(const std::string& chainName)
|
||||
: TestingSetup(chainName),
|
||||
m_wallet(m_chain.get(), WalletLocation(), WalletDatabase::CreateMock())
|
||||
|
||||
@@ -5,9 +5,7 @@
|
||||
#include <wallet/wallet.h>
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <stdint.h>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <consensus/validation.h>
|
||||
|
||||
Reference in New Issue
Block a user