#include <stdio.h>#include <stdlib.h>#include <getopt.h>#include <errno.h>#include <string.h>#include <libxml/xmlreader.h>#include <libxml/xmlschemas.h>#include "testrunnerlite.h"#include "testdefinitiondatatypes.h"#include "log.h"Go to the source code of this file.
Functions | |
| LOCAL void | list_string_delete (xmlLinkPtr) |
| LOCAL void | gen_attribs_delete (td_gen_attribs *) |
| LOCAL int | list_string_compare (const void *, const void *) |
| LOCAL int | list_dummy_compare (const void *data0, const void *data1) |
| LOCAL void | td_file_delete (xmlLinkPtr lk) |
| const char * | case_result_str (case_result_t cr) |
| td_td * | td_td_create () |
| void | td_td_delete (td_td *td) |
| td_suite * | td_suite_create () |
| void | td_suite_delete (td_suite *s) |
| td_set * | td_set_create () |
| void | td_set_delete (td_set *s) |
| td_step * | td_step_create () |
| td_case * | td_case_create () |
| td_steps * | td_steps_create () |
| void | td_step_delete (xmlLinkPtr lk) |
| void | td_case_delete (xmlLinkPtr lk) |
| void | td_steps_delete (xmlLinkPtr lk) |
Variables | |
| LOCAL const char * | case_res_str [] = {"FAIL", "PASS", "N/A"} |
| const char* case_result_str | ( | case_result_t | cr | ) |
Returns string matching the case result value
| cr | case result value |
Definition at line 156 of file testdefinitiondatatypes.c.
| LOCAL void gen_attribs_delete | ( | td_gen_attribs * | gen | ) |
Deallocator for general attributes
| gen | general attributes |
Definition at line 137 of file testdefinitiondatatypes.c.
| LOCAL int list_dummy_compare | ( | const void * | data0, | |
| const void * | data1 | |||
| ) |
Comparison function for list without ordering
| data0 | string to compare - not used | |
| data1 | string to compare - not used |
Definition at line 116 of file testdefinitiondatatypes.c.
| LOCAL int list_string_compare | ( | const void * | data0, | |
| const void * | data1 | |||
| ) |
Comparison function for list with xmlchar* items
| data0 | string to compare | |
| data1 | string to compare |
Definition at line 104 of file testdefinitiondatatypes.c.
| LOCAL void list_string_delete | ( | xmlLinkPtr | lk | ) |
Deallocator for list with xmlchar* items
| lk | list item |
Definition at line 93 of file testdefinitiondatatypes.c.
| td_case* td_case_create | ( | ) |
Creates a td_case data structure
Definition at line 283 of file testdefinitiondatatypes.c.
| void td_case_delete | ( | xmlLinkPtr | lk | ) |
Deallocator for td_case data structure
Definition at line 334 of file testdefinitiondatatypes.c.
| LOCAL void td_file_delete | ( | xmlLinkPtr | lk | ) |
Deallocator for list with td_file items
| lk | list item |
Definition at line 126 of file testdefinitiondatatypes.c.
| td_set* td_set_create | ( | ) |
Creates a td_set data structure, initializes lists for pre_steps etc.
Definition at line 219 of file testdefinitiondatatypes.c.
| void td_set_delete | ( | td_set * | s | ) |
De-allocate td_set data structure
| *s | td_set data |
Definition at line 250 of file testdefinitiondatatypes.c.
| td_step* td_step_create | ( | ) |
Creates a td_step data structure
Definition at line 267 of file testdefinitiondatatypes.c.
| void td_step_delete | ( | xmlLinkPtr | lk | ) |
Deallocator for td_step called by xmlListDelete
Definition at line 319 of file testdefinitiondatatypes.c.
| td_steps* td_steps_create | ( | ) |
Creates a td_steps data structure
Definition at line 301 of file testdefinitiondatatypes.c.
| void td_steps_delete | ( | xmlLinkPtr | lk | ) |
Deallocator for td_steps data structure
Definition at line 352 of file testdefinitiondatatypes.c.
| td_suite* td_suite_create | ( | ) |
Creates a td_suite data structure, initializes lists for pre_steps etc.
Definition at line 193 of file testdefinitiondatatypes.c.
| void td_suite_delete | ( | td_suite * | s | ) |
De-allocate td_suite data structure
| *s | td_suite data |
Definition at line 209 of file testdefinitiondatatypes.c.
| td_td* td_td_create | ( | ) |
Creates test definition data structure
Definition at line 165 of file testdefinitiondatatypes.c.
| void td_td_delete | ( | td_td * | td | ) |
De-allocate test definition data structure
| *td | td_td data |
Definition at line 180 of file testdefinitiondatatypes.c.
| LOCAL const char* case_res_str[] = {"FAIL", "PASS", "N/A"} |
Definition at line 65 of file testdefinitiondatatypes.c.
1.6.3