diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-18 14:54:57 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-18 14:57:42 +0200 |
commit | f4eae2d910d9edb3750efec4facbeab161cce593 (patch) | |
tree | a01442d5df233ef117344574aa80529b5aded4ec /src/wallet/test/accounting_tests.cpp | |
parent | de39c95c2468cc643a5d5bed9e5dd8cea6a40747 (diff) | |
download | bitcoin-f4eae2d910d9edb3750efec4facbeab161cce593.tar.xz |
test: Create test fixture for wallet
Removes all the `#ifdef ENABLE_WALLET` from `test_bitcoin` by
making the wallet tests use their own fixture.
Diffstat (limited to 'src/wallet/test/accounting_tests.cpp')
-rw-r--r-- | src/wallet/test/accounting_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/test/accounting_tests.cpp b/src/wallet/test/accounting_tests.cpp index dad191c684..d075b2b641 100644 --- a/src/wallet/test/accounting_tests.cpp +++ b/src/wallet/test/accounting_tests.cpp @@ -5,7 +5,7 @@ #include "wallet/wallet.h" #include "wallet/walletdb.h" -#include "test/test_bitcoin.h" +#include "wallet/test/wallet_test_fixture.h" #include <stdint.h> @@ -14,7 +14,7 @@ extern CWallet* pwalletMain; -BOOST_FIXTURE_TEST_SUITE(accounting_tests, TestingSetup) +BOOST_FIXTURE_TEST_SUITE(accounting_tests, WalletTestingSetup) static void GetResults(CWalletDB& walletdb, std::map<CAmount, CAccountingEntry>& results) |