Tor
0.4.7.0-alpha-dev
|
#include <tinytest.h>
Data Fields | |
void *(* | setup_fn )(const struct testcase_t *) |
int(* | cleanup_fn )(const struct testcase_t *, void *) |
Functions to initialize/teardown a structure for a testcase.
Definition at line 45 of file tinytest.h.
int(* cleanup_fn) (const struct testcase_t *, void *) |
Clean/free a structure from setup_fn. Return 1 if ok, 0 on err.
Definition at line 49 of file tinytest.h.
void*(* setup_fn) (const struct testcase_t *) |
Return a new structure for use by a given testcase.
Definition at line 47 of file tinytest.h.