Back to index

tor  0.2.3.18-rc
Public Attributes
testcase_setup_t Struct Reference

Functions to initialize/teardown a structure for a testcase. More...

#include <tinytest.h>

List of all members.

Public Attributes

void *(* setup_fn )(const struct testcase_t *)
 Return a new structure for use by a given testcase.
int(* cleanup_fn )(const struct testcase_t *, void *)
 Clean/free a structure from setup_fn.

Detailed Description

Functions to initialize/teardown a structure for a testcase.

Definition at line 43 of file tinytest.h.


Member Data Documentation

int(* testcase_setup_t::cleanup_fn)(const struct testcase_t *, void *)

Clean/free a structure from setup_fn.

Return 1 if ok, 0 on err.

Definition at line 47 of file tinytest.h.

void*(* testcase_setup_t::setup_fn)(const struct testcase_t *)

Return a new structure for use by a given testcase.

Definition at line 45 of file tinytest.h.


The documentation for this struct was generated from the following file: