]> Git Repo - VerusCoin.git/commit - src/util.h
Reinitialize state in between individual unit tests.
authorPieter Wuille <[email protected]>
Tue, 3 Mar 2015 15:49:12 +0000 (07:49 -0800)
committerPieter Wuille <[email protected]>
Tue, 3 Mar 2015 17:01:46 +0000 (09:01 -0800)
commit51598b26319bf1ee98b399dee8152b902c62891a
tree21805efdbe19e67f3ed953695cb5f27c9d4ff4fe
parent86eb461c5bbe8200ab066f75b5acdf79fbae1086
Reinitialize state in between individual unit tests.

This changes the TestingSetup fixture to be per-unit-test rather than global.
Most tests don't need it, so it's only invoked in a few.
14 files changed:
src/Makefile.test.include
src/db.cpp
src/db.h
src/main.cpp
src/test/DoS_tests.cpp
src/test/accounting_tests.cpp
src/test/alert_tests.cpp
src/test/miner_tests.cpp
src/test/rpc_tests.cpp
src/test/rpc_wallet_tests.cpp
src/test/test_bitcoin.cpp
src/test/test_bitcoin.h [new file with mode: 0644]
src/util.h
src/walletdb.cpp
This page took 0.028999 seconds and 4 git commands to generate.