Ryan Ofsky c1252b14d7
Merge bitcoin/bitcoin#31520: #31318 followups
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
2024-12-18 15:41:28 -05:00
..
2024-08-16 19:27:40 +01:00
2024-09-03 16:06:20 +02:00
2024-09-03 16:06:20 +02:00
2024-07-31 13:25:52 +01:00

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).