Tor
0.4.7.0-alpha-dev
|
#include <tinytest.h>
Data Fields | |
const char * | name |
testcase_fn | fn |
unsigned long | flags |
const struct testcase_setup_t * | setup |
void * | setup_data |
A single test-case that you can run.
Definition at line 53 of file tinytest.h.
unsigned long flags |
Bitfield of TT_* flags.
Definition at line 56 of file tinytest.h.
testcase_fn fn |
The function to run to implement this case.
Definition at line 55 of file tinytest.h.
const char* name |
An identifier for this case.
Definition at line 54 of file tinytest.h.
const struct testcase_setup_t* setup |
Optional setup/cleanup fns
Definition at line 57 of file tinytest.h.
void* setup_data |
Extra data usable by setup function
Definition at line 58 of file tinytest.h.