diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-04-18 14:54:57 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-04-18 14:57:42 +0200 |
| commit | f4eae2d910d9edb3750efec4facbeab161cce593 (patch) | |
| tree | a01442d5df233ef117344574aa80529b5aded4ec /src/wallet/test/accounting_tests.cpp | |
| parent | test: move accounting_tests and rpc_wallet_tests to wallet/test (diff) | |
| download | discoin-f4eae2d910d9edb3750efec4facbeab161cce593.tar.xz discoin-f4eae2d910d9edb3750efec4facbeab161cce593.zip | |
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 dad191c68..d075b2b64 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) |