diff options
author | Andrew Chow <github@achow101.com> | 2022-12-12 14:54:01 -0500 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2023-05-03 10:45:10 -0400 |
commit | 33c6245ac1ecdfe25b1ee4fd9e93c43393634ae3 (patch) | |
tree | ca25fd3570001b6d515000216f36e8aedaed5f41 /build_msvc/libtest_util | |
parent | 539452242e895f2dcd719d41f447a48896d0e4b2 (diff) | |
download | bitcoin-33c6245ac1ecdfe25b1ee4fd9e93c43393634ae3.tar.xz |
Introduce MockableDatabase for wallet unit tests
MockableDatabase is a WalletDatabase that allows us to interact with the
records to change them independently from the wallet, as well as
changing the return values from within the tests. This will give us
greater flexibility in testing the wallet.
Diffstat (limited to 'build_msvc/libtest_util')
-rw-r--r-- | build_msvc/libtest_util/libtest_util.vcxproj.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build_msvc/libtest_util/libtest_util.vcxproj.in b/build_msvc/libtest_util/libtest_util.vcxproj.in index b5e844010e..64cfa82dcc 100644 --- a/build_msvc/libtest_util/libtest_util.vcxproj.in +++ b/build_msvc/libtest_util/libtest_util.vcxproj.in @@ -8,6 +8,7 @@ <ConfigurationType>StaticLibrary</ConfigurationType> </PropertyGroup> <ItemGroup> + <ClCompile Include="..\..\src\wallet\test\util.cpp" /> @SOURCE_FILES@ </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |