4b52b74cfe6ea94a6bbf2c61c31af810e42a0d95
[novacoin.git] / src / test / test_bitcoin.cpp
1 #define BOOST_TEST_MODULE Bitcoin Test Suite
2 #include <boost/test/unit_test.hpp>
3
4 #include "main.h"
5 #include "wallet.h"
6
7 extern bool fPrintToConsole;
8 struct TestingSetup {
9     TestingSetup() {
10         fPrintToConsole = true; // don't want to write to debug.log file
11     }
12     ~TestingSetup() { }
13 };
14
15 BOOST_GLOBAL_FIXTURE(TestingSetup);
16
17 CWallet* pwalletMain;
18
19 void Shutdown(void* parg)
20 {
21   exit(0);
22 }