![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
#include "util.h"Go to the source code of this file.
Classes | |
| struct | tf_test_entry |
| struct | tf_test_module |
| struct | tf_targets |
| struct | tf_args |
| struct | tf_framework |
Macros | |
| #define | MAX_ARGS 150 |
| #define | MAX_SUBPROCESSES 16 |
| #define | CASE(name) { #name, run_##name } |
| #define | CASE1(name) { #name, name } |
| #define | MAKE_TEST_MODULE(name) |
| #define | REPEAT_TEST(fn) REPEAT_TEST_MULT(fn, 1) |
| #define | REPEAT_TEST_MULT(fn, multiplier) |
Typedefs | |
| typedef void(* | test_fn) (void) |
| typedef int(* | setup_ctx_fn) (void) |
| typedef int(* | teardown_fn) (void) |
| typedef void(* | run_test_fn) (const struct tf_test_entry *) |
Functions | |
| static int | tf_init (struct tf_framework *tf, int argc, char **argv) |
| static int | tf_run (struct tf_framework *tf) |
Definition at line 26 of file unit_test.h.
Definition at line 27 of file unit_test.h.
| #define MAKE_TEST_MODULE | ( | name | ) |
Definition at line 29 of file unit_test.h.
| #define MAX_ARGS 150 |
Definition at line 18 of file unit_test.h.
| #define MAX_SUBPROCESSES 16 |
Definition at line 20 of file unit_test.h.
| #define REPEAT_TEST | ( | fn | ) | REPEAT_TEST_MULT(fn, 1) |
Definition at line 36 of file unit_test.h.
| #define REPEAT_TEST_MULT | ( | fn, | |
| multiplier | |||
| ) |
Definition at line 37 of file unit_test.h.
| typedef void(* run_test_fn) (const struct tf_test_entry *) |
Definition at line 66 of file unit_test.h.
| typedef int(* setup_ctx_fn) (void) |
Definition at line 64 of file unit_test.h.
| typedef int(* teardown_fn) (void) |
Definition at line 65 of file unit_test.h.
| typedef void(* test_fn) (void) |
Definition at line 51 of file unit_test.h.
|
static |
|
static |