File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
#include " primitives/transaction.h"
6
6
#include " main.h"
7
7
8
+ #include " test/test_bitcoin.h"
9
+
8
10
#include < boost/test/unit_test.hpp>
9
11
10
- BOOST_AUTO_TEST_SUITE (main_tests)
12
+ BOOST_FIXTURE_TEST_SUITE (main_tests, TestingSetup )
11
13
12
14
BOOST_AUTO_TEST_CASE(subsidy_limit_test)
13
15
{
Original file line number Diff line number Diff line change 9
9
#include < utility>
10
10
#include < vector>
11
11
12
+ #include " test/test_bitcoin.h"
13
+
12
14
#include < boost/foreach.hpp>
13
15
#include < boost/test/unit_test.hpp>
14
16
@@ -23,7 +25,7 @@ using namespace std;
23
25
24
26
typedef set<pair<const CWalletTx*,unsigned int > > CoinSet;
25
27
26
- BOOST_AUTO_TEST_SUITE (wallet_tests)
28
+ BOOST_FIXTURE_TEST_SUITE (wallet_tests, TestingSetup )
27
29
28
30
static CWallet wallet;
29
31
static vector<COutput> vCoins;
You can’t perform that action at this time.
0 commit comments