twisterp2pblockchainnetworkbittorrentipv6microbloggingsocial-networkdhtdecentralizedtwister-coretwisterarmyp2p-networktwister-servertwister-ipv6
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
539 B
28 lines
539 B
#define BOOST_TEST_MODULE Bitcoin Test Suite |
|
#include <boost/test/unit_test.hpp> |
|
|
|
#include "main.h" |
|
#include "wallet.h" |
|
|
|
CWallet* pwalletMain; |
|
|
|
extern bool fPrintToConsole; |
|
struct TestingSetup { |
|
TestingSetup() { |
|
fPrintToConsole = true; // don't want to write to debug.log file |
|
pwalletMain = new CWallet(); |
|
RegisterWallet(pwalletMain); |
|
} |
|
~TestingSetup() |
|
{ |
|
delete pwalletMain; |
|
pwalletMain = NULL; |
|
} |
|
}; |
|
|
|
BOOST_GLOBAL_FIXTURE(TestingSetup); |
|
|
|
void Shutdown(void* parg) |
|
{ |
|
exit(0); |
|
}
|
|
|