Skip to content

Commit 075962b

Browse files
committed
wallet, tests: Include wallet/test/util.h
This will be needed for the following scripted-diff to work.
1 parent 14aa4cb commit 075962b

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<ItemGroup>
1111
<ClCompile Include="..\..\src\init\bitcoin-qt.cpp" />
1212
<ClCompile Include="..\..\src\test\util\setup_common.cpp" />
13+
<ClCompile Include="..\..\src\wallet\test\util.cpp" />
1314
<ClCompile Include="..\..\src\qt\test\addressbooktests.cpp" />
1415
<ClCompile Include="..\..\src\qt\test\apptests.cpp" />
1516
<ClCompile Include="..\..\src\qt\test\optiontests.cpp" />

src/bench/wallet_loading.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <optional>
1818

1919
using wallet::CWallet;
20+
using wallet::CreateMockableWalletDatabase;
2021
using wallet::DatabaseFormat;
2122
using wallet::DatabaseOptions;
2223
using wallet::TxStateInactive;

src/qt/test/addressbooktests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <key.h>
2020
#include <key_io.h>
2121
#include <wallet/wallet.h>
22+
#include <wallet/test/util.h>
2223
#include <walletinitinterface.h>
2324

2425
#include <chrono>

src/qt/test/wallettests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <qt/walletmodel.h>
2727
#include <test/util/setup_common.h>
2828
#include <validation.h>
29+
#include <wallet/test/util.h>
2930
#include <wallet/wallet.h>
3031

3132
#include <chrono>

src/wallet/test/coinselector_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <wallet/coincontrol.h>
1313
#include <wallet/coinselection.h>
1414
#include <wallet/spend.h>
15+
#include <wallet/test/util.h>
1516
#include <wallet/test/wallet_test_fixture.h>
1617
#include <wallet/wallet.h>
1718

src/wallet/test/group_outputs_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <wallet/coinselection.h>
88
#include <wallet/spend.h>
9+
#include <wallet/test/util.h>
910
#include <wallet/wallet.h>
1011

1112
#include <boost/test/unit_test.hpp>

src/wallet/test/wallet_test_fixture.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5+
#include <wallet/test/util.h>
56
#include <wallet/test/wallet_test_fixture.h>
67

78
#include <scheduler.h>

0 commit comments

Comments
 (0)