diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-09 12:43:21 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-09 12:51:07 +0100 |
commit | cdae53e456ad35216e33a90f1681aade546cc431 (patch) | |
tree | d21c3163a804c7542241c089075586acd16c218e /src/test/test_bitcoin.h | |
parent | c1b723c30a57811ad5801ab8a839186b654ae2bf (diff) | |
parent | 51598b26319bf1ee98b399dee8152b902c62891a (diff) | |
download | bitcoin-cdae53e456ad35216e33a90f1681aade546cc431.tar.xz |
Merge pull request #5852
51598b2 Reinitialize state in between individual unit tests. (Pieter Wuille)
Diffstat (limited to 'src/test/test_bitcoin.h')
-rw-r--r-- | src/test/test_bitcoin.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h new file mode 100644 index 0000000000..c1448dcdeb --- /dev/null +++ b/src/test/test_bitcoin.h @@ -0,0 +1,18 @@ +#ifndef BITCOIN_TEST_TEST_BITCOIN_H +#define BITCOIN_TEST_TEST_BITCOIN_H + +#include "txdb.h" + +#include <boost/filesystem.hpp> +#include <boost/thread.hpp> + +struct TestingSetup { + CCoinsViewDB *pcoinsdbview; + boost::filesystem::path pathTemp; + boost::thread_group threadGroup; + + TestingSetup(); + ~TestingSetup(); +}; + +#endif |