mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-13 17:08:54 +00:00
4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 refactor: fix typo in node/types.h (Sjors Provoost) 366fbf152c6c484a22e4c299247de15aa9553982 test: drop extraneous bracket in mining util (Sjors Provoost) Pull request description: #31318 followups Drops an extraneous bracket and fixes a typo. ACKs for top commit: maflcko: lgtm ACK 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 vasild: ACK 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 ryanofsky: Code review ACK 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 Tree-SHA512: e168bab124f1e62f6666a21349ee4ac8ac11aadeb04813513e89f6c8f8479a67bcf3490460fd49c8d7f9b7264a32e7ea95ac727dfe4597a59b934017ec9fe44e
Test library
This contains files for the test library, which is used by the test binaries (unit tests, benchmarks, fuzzers, gui tests).
Generally, the files in this folder should be well-separated modules. New code should be added to existing modules or (when in doubt) a new module should be created.
The utilities in here are compiled into a library, which does not hold any state. However, the main file setup_common
defines the common test setup for all test binaries. The test binaries will handle the global state when they
instantiate the BasicTestingSetup (or one of its derived classes).