0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-05 10:17:30 -05:00
bitcoin-bitcoin-core/src/wallet/test
MarcoFalke d3dae3ddf9
Merge #13145: Use common getPath method to create temp directory in tests.
075429a482 Use common SetDataDir method to create temp directory in tests. (winder)

Pull request description:

  Took a stab at #12574

  Created a `getPath` method which can be used with the `TestingSetup` fixture to create a temp directory. Updated tests using temp directories to use this method.

  I tried setting up a `BOOST_GLOBAL_FIXTURE` to create a truly global path for all tests but was getting linker errors when including `boost/test/unit_test.hpp` in `test_bitcoin.cpp`. Even if I had gotten the linking to work, it looks like `make check` invokes the test binary a bunch of times, so it may not have worked anyway.

Tree-SHA512: b51d0f5fada5d652ccc9362596cf98a742aa47f5daf94f189b5f034d8c035c85d095377befdcff7fb4247154d5160e8c500d70f554a2158e2c185a9d24f694f1
2018-07-12 07:47:53 -04:00
..
accounting_tests.cpp Merge #10742: scripted-diff: Use scoped enumerations (C++11, "enum class") 2018-03-27 16:38:14 +02:00
coinselector_tests.cpp Use bracket syntax includes ("#include <foo.h>") 2018-06-06 11:09:05 +02:00
wallet_crypto_tests.cpp tests: Avoid test suite name collision in wallet crypto_tests 2018-04-06 16:29:14 +02:00
wallet_test_fixture.cpp Merge #11851: scripted-diff: Rename wallet database classes 2018-04-09 19:29:54 +02:00
wallet_test_fixture.h Merge #12859: Bugfix: Include <memory> for std::unique_ptr 2018-04-05 09:31:53 +02:00
wallet_tests.cpp Use common SetDataDir method to create temp directory in tests. 2018-07-11 23:44:12 -04:00