2011-08-02 17:34:23 +02:00
|
|
|
#define BOOST_TEST_MODULE Bitcoin Test Suite
|
2011-06-27 20:05:02 +02:00
|
|
|
#include <boost/test/unit_test.hpp>
|
|
|
|
|
2011-10-12 01:50:06 +02:00
|
|
|
#include "main.h"
|
|
|
|
#include "wallet.h"
|
2011-07-31 20:00:38 +02:00
|
|
|
|
2011-10-03 22:14:13 +02:00
|
|
|
extern bool fPrintToConsole;
|
|
|
|
struct TestingSetup {
|
|
|
|
TestingSetup() {
|
|
|
|
fPrintToConsole = true; // don't want to write to debug.log file
|
|
|
|
}
|
|
|
|
~TestingSetup() { }
|
|
|
|
};
|
|
|
|
|
|
|
|
BOOST_GLOBAL_FIXTURE(TestingSetup);
|
|
|
|
|
2011-07-31 20:00:38 +02:00
|
|
|
CWallet* pwalletMain;
|
|
|
|
|
|
|
|
void Shutdown(void* parg)
|
|
|
|
{
|
2011-09-27 20:16:07 +02:00
|
|
|
exit(0);
|
2011-07-31 20:00:38 +02:00
|
|
|
}
|