#include <time.h>#include <stdio.h>#include <errno.h>#include <string.h>#include <libxml/xmlwriter.h>#include "testresultlogger.h"#include "log.h"Go to the source code of this file.
| void close_result_logger | ( | void | ) |
Close the result logger
Definition at line 1049 of file testresultlogger.c.
| int init_result_logger | ( | testrunner_lite_options * | opts, | |
| hw_info * | hwinfo | |||
| ) |
Initialize result logger according to user options.
| opts | commandline options | |
| hwinfo | hardware information |
Definition at line 864 of file testresultlogger.c.
| LOCAL int txt_write_case | ( | const void * | data, | |
| const void * | user | |||
| ) |
Write case result to text file
| data | case data | |
| user | not used |
Definition at line 723 of file testresultlogger.c.
| LOCAL int txt_write_post_set | ( | td_set * | set | ) |
Write post set information to text file - loop through test cases
| set | set data |
Definition at line 848 of file testresultlogger.c.
| LOCAL int txt_write_post_suite | ( | td_suite * | suite | ) |
Write post suite to text file - does not do anything at the moment
Definition at line 815 of file testresultlogger.c.
| LOCAL int txt_write_pre_set | ( | td_set * | set | ) |
Write pre set information to text file
| set | set data |
Definition at line 825 of file testresultlogger.c.
| LOCAL int txt_write_pre_suite | ( | td_suite * | suite | ) |
Write suite start txt tag
| suite | suite data |
Definition at line 796 of file testresultlogger.c.
| LOCAL int txt_write_step | ( | const void * | data, | |
| const void * | user | |||
| ) |
Write step result to text file
| data | step data | |
| user | not used |
Definition at line 678 of file testresultlogger.c.
| LOCAL int txt_write_td_end | ( | td_td * | td | ) |
Write the test definition attributes to xml results
| td | test definition data |
Definition at line 783 of file testresultlogger.c.
| LOCAL int txt_write_td_start | ( | td_td * | td | ) |
Write the test definition attributes to xml results
| td | test definition data |
Definition at line 773 of file testresultlogger.c.
| int write_post_set | ( | td_set * | set | ) |
Call post_set callback
| set | set data |
Definition at line 1028 of file testresultlogger.c.
| int write_post_suite | ( | td_suite * | suite | ) |
Call post_suite callback
| suite | suite data |
Definition at line 1009 of file testresultlogger.c.
| int write_pre_set | ( | td_set * | set | ) |
Call pre_set callback
| set | set data |
Definition at line 1019 of file testresultlogger.c.
| int write_pre_suite | ( | td_suite * | suite | ) |
Call pre_suite callback
| suite | suite data |
Definition at line 1000 of file testresultlogger.c.
| int write_td_end | ( | td_td * | td | ) |
Call td_end callback
| td | td data |
Definition at line 991 of file testresultlogger.c.
| int write_td_start | ( | td_td * | td | ) |
Call td_start callback
| td | td data |
Definition at line 982 of file testresultlogger.c.
| int xml_end_element | ( | void | ) |
Write end element tag
Definition at line 1037 of file testresultlogger.c.
| LOCAL int xml_write_case | ( | const void * | data, | |
| const void * | user | |||
| ) |
Write case result xml
| data | case data | |
| user | not used |
Definition at line 520 of file testresultlogger.c.
| LOCAL int xml_write_file_data | ( | const void * | data, | |
| const void * | user | |||
| ) |
Write get/file data to results
| data | td_dile | |
| user | not used |
Definition at line 588 of file testresultlogger.c.
| LOCAL int xml_write_general_attributes | ( | td_gen_attribs * | gen | ) |
Write the values of general attributes
| gen |
Definition at line 231 of file testresultlogger.c.
| LOCAL int xml_write_post_set | ( | td_set * | set | ) |
Write set start tag and cases result xml
| set | set data |
Definition at line 610 of file testresultlogger.c.
| LOCAL int xml_write_post_suite | ( | td_suite * | suite | ) |
Write suite end
| suite | suite data |
Definition at line 191 of file testresultlogger.c.
| LOCAL int xml_write_pre_post_step | ( | const void * | data, | |
| const void * | user | |||
| ) |
Write pre or post step result xml
| data | step data | |
| user | not used |
Definition at line 423 of file testresultlogger.c.
| LOCAL int xml_write_pre_set | ( | td_set * | set | ) |
Write pre-set xml tag
| set | set data |
Definition at line 208 of file testresultlogger.c.
| LOCAL int xml_write_pre_suite | ( | td_suite * | suite | ) |
Write suite start xml tag
| suite | suite data |
Definition at line 172 of file testresultlogger.c.
| LOCAL int xml_write_step | ( | const void * | data, | |
| const void * | user | |||
| ) |
Write step result xml
| data | step data | |
| user | not used |
Definition at line 320 of file testresultlogger.c.
| LOCAL int xml_write_td_end | ( | td_td * | td | ) |
Write the test definition top level elements
| td | test definition data |
Definition at line 146 of file testresultlogger.c.
| LOCAL int xml_write_td_start | ( | td_td * | td | ) |
Write the test definition attributes to xml results
| td | test definition data |
Definition at line 129 of file testresultlogger.c.
| LOCAL FILE* ofile |
Definition at line 61 of file testresultlogger.c.
| struct { ... } out_cbs |
| int(* write_post_set)(td_set *) |
Definition at line 75 of file testresultlogger.c.
| int(* write_post_suite)(td_suite *) |
Definition at line 73 of file testresultlogger.c.
| int(* write_pre_set)(td_set *) |
Definition at line 74 of file testresultlogger.c.
| int(* write_pre_suite)(td_suite *) |
Definition at line 72 of file testresultlogger.c.
| int(* write_td_end)(td_td *) |
Definition at line 71 of file testresultlogger.c.
| int(* write_td_start)(td_td *) |
Definition at line 70 of file testresultlogger.c.
| LOCAL xmlTextWriterPtr writer |
Definition at line 60 of file testresultlogger.c.
1.6.3