From 33c6245ac1ecdfe25b1ee4fd9e93c43393634ae3 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Mon, 12 Dec 2022 14:54:01 -0500 Subject: 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. --- build_msvc/libtest_util/libtest_util.vcxproj.in | 1 + 1 file changed, 1 insertion(+) (limited to 'build_msvc') 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 @@ StaticLibrary + @SOURCE_FILES@ -- cgit v1.2.3 From 075962bc25a90661612fe4613cd50ea1cae21f52 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Mon, 12 Dec 2022 16:43:49 -0500 Subject: wallet, tests: Include wallet/test/util.h This will be needed for the following scripted-diff to work. --- build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj | 1 + 1 file changed, 1 insertion(+) (limited to 'build_msvc') diff --git a/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj b/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj index 3a2540d549..045386ea17 100644 --- a/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj +++ b/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj @@ -10,6 +10,7 @@ + -- cgit v1.2.3