aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-03-12 10:54:13 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-03-12 11:00:16 +0100
commit164d7b674b49b3c062d0331f28d21ad4f6bf5207 (patch)
tree3768ed6d0cba9128dd6fc5b8caa65c2dafac7bf1 /src/test/test_bitcoin.cpp
parente564e63ef04e55b1e446f8440d51c611bc41cec6 (diff)
parent92fd887fd42a61e95f716d3193104827f60f856c (diff)
downloadbitcoin-164d7b674b49b3c062d0331f28d21ad4f6bf5207.tar.xz
Merge pull request #5883
92fd887 tests: add a BasicTestingSetup and apply to all tests (Wladimir J. van der Laan)
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index a1355ad445..48e49ed757 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -26,11 +26,17 @@ CWallet* pwalletMain;
extern bool fPrintToConsole;
extern void noui_connect();
-TestingSetup::TestingSetup()
+BasicTestingSetup::BasicTestingSetup()
{
fPrintToDebugLog = false; // don't want to write to debug.log file
SelectParams(CBaseChainParams::MAIN);
- noui_connect();
+}
+BasicTestingSetup::~BasicTestingSetup()
+{
+}
+
+TestingSetup::TestingSetup()
+{
#ifdef ENABLE_WALLET
bitdb.MakeMock();
#endif