Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

test Struct Reference

Collaboration diagram for test:

Collaboration graph
[legend]

Detailed Description

For internal use only.

Instances of this structure are used to describe a test for tc_path(). Each test is executed by a call to do_test(), which performs the test call and compares the results to the expected values documented by the structure.

Definition at line 48 of file t_tc_path.c.

Data Fields

const char * test
const char * path
const char * def
unsigned int flags
unsigned int xret
int elem_cnt
int elem_loc
test_elemelems
int subst_cnt
treeconf_subst_tsubsts


Field Documentation

const char* test::def
 

Default test path.

Definition at line 51 of file t_tc_path.c.

Referenced by do_test().

int test::elem_cnt
 

Number of "file" elements.

Definition at line 54 of file t_tc_path.c.

Referenced by access(), callback(), and do_test().

int test::elem_loc
 

Current location in elements array.

Definition at line 55 of file t_tc_path.c.

Referenced by access(), and callback().

struct test_elem* test::elems
 

"File" elements.

Definition at line 56 of file t_tc_path.c.

Referenced by access(), callback(), and do_test().

unsigned int test::flags
 

Control flags for tc_path().

Definition at line 52 of file t_tc_path.c.

Referenced by do_test().

const char* test::path
 

Test path.

Definition at line 50 of file t_tc_path.c.

Referenced by do_test().

int test::subst_cnt
 

Number of substitutions.

Definition at line 57 of file t_tc_path.c.

Referenced by do_test().

treeconf_subst_t* test::substs
 

Substitutions to pass to tc_path().

Definition at line 58 of file t_tc_path.c.

Referenced by do_test().

const char* test::test
 

Name of the test.

Definition at line 49 of file t_tc_path.c.

Referenced by access(), callback(), and do_test().

unsigned int test::xret
 

Expected return value for tc_path().

Definition at line 53 of file t_tc_path.c.

Referenced by do_test().


Generated on Wed Jun 8 09:18:38 2005 for treeconf by  doxygen 1.3.9.1