scripted-diff: test: Move setup_common to test library

-BEGIN VERIFY SCRIPT-
 # Move files
 for f in $(git ls-files src/test/lib/); do git mv $f src/test/util/; done
 git mv src/test/setup_common.cpp                     src/test/util/
 git mv src/test/setup_common.h                       src/test/util/
 # Replace Windows paths
 sed -i -e 's|\\setup_common|\\util\\setup_common|g' $(git grep -l '\\setup_common')
 sed -i -e 's|src\\test\\lib\\|src\\test\\util\\|g'  build_msvc/test_bitcoin/test_bitcoin.vcxproj
 # Everything else
 sed -i -e 's|/setup_common|/util/setup_common|g'    $(git grep -l 'setup_common')
 sed -i -e 's|test/lib/|test/util/|g'                $(git grep -l 'test/lib/')
 # Fix include guard
 sed -i -e 's|BITCOIN_TEST_SETUP_COMMON_H|BITCOIN_TEST_UTIL_SETUP_COMMON_H|g' ./src/test/util/setup_common.h
 sed -i -e 's|BITCOIN_TEST_LIB_|BITCOIN_TEST_UTIL_|g'                     $(git grep -l 'BITCOIN_TEST_LIB_')
-END VERIFY SCRIPT-
This commit is contained in:
MarcoFalke 2019-11-05 15:18:59 -05:00
parent 7967104aee
commit faec28252c
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
101 changed files with 126 additions and 126 deletions

View file

@ -10,7 +10,7 @@
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\src\test\setup_common.cpp" />
<ClCompile Include="..\..\src\test\util\setup_common.cpp" />
<ClCompile Include="..\..\src\qt\test\addressbooktests.cpp" />
<ClCompile Include="..\..\src\qt\test\apptests.cpp" />
<ClCompile Include="..\..\src\qt\test\compattests.cpp" />

View file

@ -13,8 +13,8 @@
<ClCompile Include="..\..\src\test\*_properties.cpp" />
<ClCompile Include="..\..\src\test\gen\*_gen.cpp" />
<ClCompile Include="..\..\src\wallet\test\*_tests.cpp" />
<ClCompile Include="..\..\src\test\lib\*.cpp" />
<ClCompile Include="..\..\src\test\setup_common.cpp" />
<ClCompile Include="..\..\src\test\util\*.cpp" />
<ClCompile Include="..\..\src\test\util\setup_common.cpp" />
<ClCompile Include="..\..\src\test\main.cpp" />
<ClCompile Include="..\..\src\wallet\test\*_fixture.cpp" />
</ItemGroup>

View file

@ -40,10 +40,10 @@ bench_bench_bitcoin_SOURCES = \
bench/lockedpool.cpp \
bench/poly1305.cpp \
bench/prevector.cpp \
test/lib/transaction_utils.h \
test/lib/transaction_utils.cpp \
test/setup_common.h \
test/setup_common.cpp \
test/util/transaction_utils.h \
test/util/transaction_utils.cpp \
test/util/setup_common.h \
test/util/setup_common.cpp \
test/util.h \
test/util.cpp

View file

@ -27,10 +27,10 @@ TEST_QT_H = \
qt/test/wallettests.h
TEST_BITCOIN_CPP = \
test/setup_common.cpp
test/util/setup_common.cpp
TEST_BITCOIN_H = \
test/setup_common.h
test/util/setup_common.h
qt_test_test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
$(QT_INCLUDES) $(QT_TEST_INCLUDES)

View file

@ -57,15 +57,15 @@ RAW_TEST_FILES =
GENERATED_TEST_FILES = $(JSON_TEST_FILES:.json=.json.h) $(RAW_TEST_FILES:.raw=.raw.h)
BITCOIN_TEST_SUITE = \
test/lib/blockfilter.cpp \
test/lib/blockfilter.h \
test/lib/logging.cpp \
test/lib/logging.h \
test/lib/transaction_utils.cpp \
test/lib/transaction_utils.h \
test/util/blockfilter.cpp \
test/util/blockfilter.h \
test/util/logging.cpp \
test/util/logging.h \
test/util/transaction_utils.cpp \
test/util/transaction_utils.h \
test/main.cpp \
test/setup_common.h \
test/setup_common.cpp \
test/util/setup_common.h \
test/util/setup_common.cpp \
test/util/str.h \
test/util/str.cpp
@ -73,8 +73,8 @@ FUZZ_SUITE = \
test/fuzz/fuzz.cpp \
test/fuzz/fuzz.h \
test/fuzz/FuzzedDataProvider.h \
test/setup_common.cpp \
test/setup_common.h \
test/util/setup_common.cpp \
test/util/setup_common.h \
test/util/str.cpp \
test/util/str.h

View file

@ -5,7 +5,7 @@
#include <bench/bench.h>
#include <chainparams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <algorithm>

View file

@ -10,7 +10,7 @@
#include <script/script.h>
#include <script/standard.h>
#include <streams.h>
#include <test/lib/transaction_utils.h>
#include <test/util/transaction_utils.h>
#include <array>

View file

@ -1,6 +1,6 @@
#include <qt/test/addressbooktests.h>
#include <qt/test/util.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <interfaces/chain.h>
#include <interfaces/node.h>

View file

@ -11,7 +11,7 @@
#include <qt/networkstyle.h>
#include <qt/rpcconsole.h>
#include <shutdown.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <univalue.h>
#include <validation.h>

View file

@ -7,7 +7,7 @@
#include <interfaces/node.h>
#include <rpc/server.h>
#include <qt/rpcconsole.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <univalue.h>
#include <util/system.h>

View file

@ -12,7 +12,7 @@
#include <qt/test/rpcnestedtests.h>
#include <qt/test/uritests.h>
#include <qt/test/compattests.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#ifdef ENABLE_WALLET
#include <qt/test/addressbooktests.h>

View file

@ -13,7 +13,7 @@
#include <qt/transactionview.h>
#include <qt/walletmodel.h>
#include <key_io.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <wallet/wallet.h>
#include <qt/overviewpage.h>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <addrman.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <string>
#include <boost/test/unit_test.hpp>

View file

@ -5,7 +5,7 @@
#include <util/memory.h>
#include <util/system.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <memory>

View file

@ -4,7 +4,7 @@
#include <amount.h>
#include <policy/feerate.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -11,7 +11,7 @@
#include <uint256.h>
#include <arith_uint256.h>
#include <string>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
BOOST_FIXTURE_TEST_SUITE(arith_uint256_tests, BasicTestingSetup)

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -5,7 +5,7 @@
#include <test/data/base58_encode_decode.json.h>
#include <base58.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <univalue.h>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bech32.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <test/util/str.h>
#include <boost/test/unit_test.hpp>

View file

@ -9,7 +9,7 @@
#include <key_io.h>
#include <streams.h>
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <string>
#include <vector>

View file

@ -4,7 +4,7 @@
#include <chain.h>
#include <rpc/blockchain.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
/* Equality between doubles is imprecise. Comparison should be done
* with a small threshold of tolerance, rather than exact equality.

View file

@ -8,7 +8,7 @@
#include <pow.h>
#include <streams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -9,8 +9,8 @@
#include <miner.h>
#include <pow.h>
#include <script/standard.h>
#include <test/lib/blockfilter.h>
#include <test/setup_common.h>
#include <test/util/blockfilter.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <validation.h>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/data/blockfilters.json.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <blockfilter.h>
#include <core_io.h>

View file

@ -15,7 +15,7 @@
#include <uint256.h>
#include <util/system.h>
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <compat/byteswap.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -7,7 +7,7 @@
#include <util/time.h>
#include <validation.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <checkqueue.h>
#include <boost/test/unit_test.hpp>
#include <boost/thread.hpp>

View file

@ -7,7 +7,7 @@
#include <coins.h>
#include <script/standard.h>
#include <streams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <undo.h>
#include <util/strencodings.h>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(compilerbug_tests, BasicTestingSetup)

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <compressor.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <script/standard.h>
#include <stdint.h>

View file

@ -15,7 +15,7 @@
#include <crypto/sha512.h>
#include <random.h>
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>

View file

@ -4,7 +4,7 @@
#include <boost/test/unit_test.hpp>
#include <cuckoocache.h>
#include <script/sigcache.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <random.h>
#include <thread>

View file

@ -4,7 +4,7 @@
#include <dbwrapper.h>
#include <uint256.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/memory.h>
#include <memory>

View file

@ -17,7 +17,7 @@
#include <util/time.h>
#include <validation.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <stdint.h>

View file

@ -6,7 +6,7 @@
#include <string>
#include <script/sign.h>
#include <script/standard.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <script/descriptor.h>
#include <util/strencodings.h>

View file

@ -5,7 +5,7 @@
#include <clientversion.h>
#include <flatfile.h>
#include <streams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/system.h>
#include <boost/test/unit_test.hpp>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
#include <fs.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/system.h>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <util/strencodings.h>
#include <util/system.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <string>
#include <utility>

View file

@ -6,7 +6,7 @@
#include <crypto/siphash.h>
#include <hash.h>
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -9,7 +9,7 @@
#include <key_io.h>
#include <script/script.h>
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <key.h>
#include <uint256.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>
#include <boost/test/unit_test.hpp>

View file

@ -8,7 +8,7 @@
#include <uint256.h>
#include <util/system.h>
#include <util/strencodings.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <string>
#include <vector>

View file

@ -4,7 +4,7 @@
#include <limitedmap.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <logging.h>
#include <logging/timer.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <chrono>

View file

@ -7,7 +7,7 @@
#include <util/system.h>
#include <util/time.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <vector>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <consensus/merkle.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <merkleblock.h>
#include <uint256.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -17,7 +17,7 @@
#include <util/time.h>
#include <validation.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <memory>

View file

@ -11,7 +11,7 @@
#include <script/signingprovider.h>
#include <tinyformat.h>
#include <uint256.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -5,7 +5,7 @@
#include <addrdb.h>
#include <addrman.h>
#include <clientversion.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <string>
#include <boost/test/unit_test.hpp>
#include <serialize.h>

View file

@ -4,7 +4,7 @@
#include <netbase.h>
#include <net_permissions.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <string>

View file

@ -9,7 +9,7 @@
#include <uint256.h>
#include <arith_uint256.h>
#include <version.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>

View file

@ -8,7 +8,7 @@
#include <uint256.h>
#include <util/time.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -5,7 +5,7 @@
#include <chain.h>
#include <chainparams.h>
#include <pow.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -9,7 +9,7 @@
#include <serialize.h>
#include <streams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -12,7 +12,7 @@
#include <support/events.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <random.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <reverselock.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -9,7 +9,7 @@
#include <core_io.h>
#include <interfaces/chain.h>
#include <node/context.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <boost/algorithm/string.hpp>

View file

@ -4,7 +4,7 @@
#include <compat/sanity.h>
#include <key.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -5,7 +5,7 @@
#include <random.h>
#include <scheduler.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/thread.hpp>
#include <boost/test/unit_test.hpp>

View file

@ -11,7 +11,7 @@
#include <policy/settings.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>

View file

@ -6,7 +6,7 @@
#include <script/script.h>
#include <script/signingprovider.h>
#include <script/standard.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -12,8 +12,8 @@
#include <script/signingprovider.h>
#include <util/system.h>
#include <util/strencodings.h>
#include <test/lib/transaction_utils.h>
#include <test/setup_common.h>
#include <test/util/transaction_utils.h>
#include <test/util/setup_common.h>
#include <rpc/util.h>
#include <streams.h>

View file

@ -4,7 +4,7 @@
#include <test/scriptnum10.h>
#include <script/script.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <limits.h>

View file

@ -5,7 +5,7 @@
#include <serialize.h>
#include <streams.h>
#include <hash.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <stdint.h>

View file

@ -10,7 +10,7 @@
#include <script/script.h>
#include <serialize.h>
#include <streams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/system.h>
#include <util/strencodings.h>
#include <version.h>

View file

@ -9,7 +9,7 @@
#include <script/script.h>
#include <script/standard.h>
#include <uint256.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <vector>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <streams.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <sync.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -5,8 +5,8 @@
#include <netaddress.h>
#include <noui.h>
#include <test/lib/logging.h>
#include <test/setup_common.h>
#include <test/util/logging.h>
#include <test/util/setup_common.h>
#include <timedata.h>
#include <warnings.h>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <test/data/tx_invalid.json.h>
#include <test/data/tx_valid.json.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <clientversion.h>
#include <checkqueue.h>

View file

@ -5,7 +5,7 @@
#include <chainparams.h>
#include <index/txindex.h>
#include <script/standard.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <boost/test/unit_test.hpp>

View file

@ -6,7 +6,7 @@
#include <consensus/validation.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -9,7 +9,7 @@
#include <script/standard.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>

View file

@ -6,7 +6,7 @@
#include <streams.h>
#include <uint256.h>
#include <version.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <sstream>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/lib/blockfilter.h>
#include <test/util/blockfilter.h>
#include <chainparams.h>
#include <validation.h>

View file

@ -2,12 +2,12 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_LIB_BLOCKFILTER_H
#define BITCOIN_TEST_LIB_BLOCKFILTER_H
#ifndef BITCOIN_TEST_UTIL_BLOCKFILTER_H
#define BITCOIN_TEST_UTIL_BLOCKFILTER_H
#include <blockfilter.h>
class CBlockIndex;
bool ComputeFilter(BlockFilterType filter_type, const CBlockIndex* block_index, BlockFilter& filter);
#endif // BITCOIN_TEST_LIB_BLOCKFILTER_H
#endif // BITCOIN_TEST_UTIL_BLOCKFILTER_H

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/lib/logging.h>
#include <test/util/logging.h>
#include <logging.h>
#include <noui.h>

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_LIB_LOGGING_H
#define BITCOIN_TEST_LIB_LOGGING_H
#ifndef BITCOIN_TEST_UTIL_LOGGING_H
#define BITCOIN_TEST_UTIL_LOGGING_H
#include <util/macros.h>
@ -26,4 +26,4 @@ public:
#define ASSERT_DEBUG_LOG(message) DebugLogHelper PASTE2(debugloghelper, __COUNTER__)(message)
#endif // BITCOIN_TEST_LIB_LOGGING_H
#endif // BITCOIN_TEST_UTIL_LOGGING_H

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <banman.h>
#include <chainparams.h>

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_SETUP_COMMON_H
#define BITCOIN_TEST_SETUP_COMMON_H
#ifndef BITCOIN_TEST_UTIL_SETUP_COMMON_H
#define BITCOIN_TEST_UTIL_SETUP_COMMON_H
#include <chainparamsbase.h>
#include <fs.h>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/lib/transaction_utils.h>
#include <test/util/transaction_utils.h>
CMutableTransaction BuildCreditingTransaction(const CScript& scriptPubKey, int nValue)
{

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_LIB_TRANSACTION_UTILS_H
#define BITCOIN_TEST_LIB_TRANSACTION_UTILS_H
#ifndef BITCOIN_TEST_UTIL_TRANSACTION_UTILS_H
#define BITCOIN_TEST_UTIL_TRANSACTION_UTILS_H
#include <primitives/transaction.h>
@ -16,4 +16,4 @@ CMutableTransaction BuildCreditingTransaction(const CScript& scriptPubKey, int n
// 1 output with empty scriptPubKey, full value of referenced transaction]
CMutableTransaction BuildSpendingTransaction(const CScript& scriptSig, const CScriptWitness& scriptWitness, const CTransaction& txCredit);
#endif // BITCOIN_TEST_LIB_TRANSACTION_UTILS_H
#endif // BITCOIN_TEST_UTIL_TRANSACTION_UTILS_H

View file

@ -6,7 +6,7 @@
#include <clientversion.h>
#include <sync.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <test/util.h>
#include <util/moneystr.h>
#include <util/strencodings.h>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util/threadnames.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <thread>
#include <vector>

View file

@ -11,7 +11,7 @@
#include <pow.h>
#include <random.h>
#include <script/standard.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <validation.h>
#include <validationinterface.h>

View file

@ -6,7 +6,7 @@
#include <net.h>
#include <validation.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <boost/signals2/signal.hpp>
#include <boost/test/unit_test.hpp>

View file

@ -4,7 +4,7 @@
#include <chain.h>
#include <versionbits.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <chainparams.h>
#include <validation.h>
#include <consensus/params.h>

View file

@ -9,7 +9,7 @@
#include <amount.h>
#include <primitives/transaction.h>
#include <random.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <wallet/test/wallet_test_fixture.h>
#include <boost/test/unit_test.hpp>

View file

@ -7,7 +7,7 @@
#include <boost/test/unit_test.hpp>
#include <fs.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <wallet/db.h>

View file

@ -7,7 +7,7 @@
#include <interfaces/chain.h>
#include <node/context.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
struct InitWalletDirTestingSetup: public BasicTestingSetup {

View file

@ -5,8 +5,8 @@
#include <boost/test/unit_test.hpp>
#include <noui.h>
#include <test/lib/logging.h>
#include <test/setup_common.h>
#include <test/util/logging.h>
#include <test/util/setup_common.h>
#include <util/system.h>
#include <wallet/test/init_test_fixture.h>

View file

@ -6,7 +6,7 @@
#include <node/context.h>
#include <script/script.h>
#include <script/standard.h>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <wallet/ismine.h>
#include <wallet/wallet.h>

View file

@ -9,7 +9,7 @@
#include <wallet/wallet.h>
#include <boost/test/unit_test.hpp>
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <wallet/test/wallet_test_fixture.h>
BOOST_FIXTURE_TEST_SUITE(psbt_wallet_tests, WalletTestingSetup)

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <wallet/crypter.h>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_WALLET_TEST_WALLET_TEST_FIXTURE_H
#define BITCOIN_WALLET_TEST_WALLET_TEST_FIXTURE_H
#include <test/setup_common.h>
#include <test/util/setup_common.h>
#include <interfaces/chain.h>
#include <interfaces/wallet.h>

Some files were not shown because too many files have changed in this diff Show more