testdefinitiondatatypes.h File Reference

#include <sys/time.h>
#include <libxml/xmlstring.h>
#include <libxml/list.h>
#include "testrunnerlite.h"

Go to the source code of this file.

Data Structures

struct  td_gen_attribs
struct  td_suite
struct  td_file
struct  td_set
struct  td_step
struct  td_case
struct  td_steps

Enumerations

enum  case_result_t { CASE_FAIL = 0, CASE_PASS, CASE_NA }

Functions

const char * case_result_str (case_result_t)
td_suitetd_suite_create ()
void td_suite_delete (td_suite *)
td_settd_set_create ()
void td_set_delete (td_set *)
td_steptd_step_create ()
void td_step_delete (xmlLinkPtr)
td_casetd_case_create ()
void td_case_delete (xmlLinkPtr)
td_stepstd_steps_create ()
void td_steps_delete (xmlLinkPtr)


Enumeration Type Documentation

Test case result

Enumerator:
CASE_FAIL 
CASE_PASS 
CASE_NA 

Definition at line 103 of file testdefinitiondatatypes.h.


Function Documentation

const char* case_result_str ( case_result_t  cr  ) 

Returns string matching the case result value

Parameters:
cr case result value
Returns:
const string matching the value

Definition at line 152 of file testdefinitiondatatypes.c.

td_case* td_case_create (  ) 

Creates a td_case data structure

Returns:
pointer to td_case or NULL in case of OOM

Definition at line 253 of file testdefinitiondatatypes.c.

void td_case_delete ( xmlLinkPtr  lk  ) 

Deallocator for td_case data structure

Definition at line 304 of file testdefinitiondatatypes.c.

td_set* td_set_create (  ) 

Creates a td_set data structure, initializes lists for pre_steps etc.

Returns:
pointer to td_set or NULL in case of OOM

Definition at line 189 of file testdefinitiondatatypes.c.

void td_set_delete ( td_set s  ) 

De-allocate td_set data structure

Parameters:
*s td_set data

Definition at line 220 of file testdefinitiondatatypes.c.

td_step* td_step_create (  ) 

Creates a td_step data structure

Returns:
pointer to td_step or NULL in case of OOM

Definition at line 237 of file testdefinitiondatatypes.c.

void td_step_delete ( xmlLinkPtr  lk  ) 

Deallocator for td_step called by xmlListDelete

Definition at line 289 of file testdefinitiondatatypes.c.

td_steps* td_steps_create (  ) 

Creates a td_steps data structure

Returns:
pointer to td_case or NULL in case of OOM

Definition at line 271 of file testdefinitiondatatypes.c.

void td_steps_delete ( xmlLinkPtr  lk  ) 

Deallocator for td_steps data structure

Definition at line 316 of file testdefinitiondatatypes.c.

td_suite* td_suite_create (  ) 

Creates a td_suite data structure, initializes lists for pre_steps etc.

Returns:
pointer to td_set or NULL in case of OOM

Definition at line 161 of file testdefinitiondatatypes.c.

void td_suite_delete ( td_suite s  ) 

De-allocate td_suite data structure

Parameters:
*s td_suite data

Definition at line 176 of file testdefinitiondatatypes.c.


Generated on Tue Jul 27 01:28:56 2010 for testrunner-lite by  doxygen 1.5.6