#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 709 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 543 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 425 of file testresultlogger.c.
LOCAL int txt_write_post_set_tag | ( | td_set * | set | ) |
Write post set information to text file - loop through test cases
set | set data |
Definition at line 527 of file testresultlogger.c.
LOCAL int txt_write_post_suite_tag | ( | ) |
Write post suite to text file - does not do anything at the moment
Definition at line 494 of file testresultlogger.c.
LOCAL int txt_write_pre_set_tag | ( | td_set * | set | ) |
Write pre set information to text file
set | set data |
Definition at line 504 of file testresultlogger.c.
LOCAL int txt_write_pre_suite_tag | ( | td_suite * | suite | ) |
Write suite start txt tag
suite | suite data |
Definition at line 475 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 380 of file testresultlogger.c.
int write_post_set_tag | ( | td_set * | set | ) |
Call post_set_tag callback
set | set data |
Definition at line 688 of file testresultlogger.c.
int write_post_suite_tag | ( | td_suite * | suite | ) |
Call post_suite_tag callback
suite | suite data |
Definition at line 669 of file testresultlogger.c.
int write_pre_set_tag | ( | td_set * | set | ) |
Call pre_set_tag callback
set | set data |
Definition at line 679 of file testresultlogger.c.
int write_pre_suite_tag | ( | td_suite * | suite | ) |
Call pre_suite_tag callback
suite | suite data |
Definition at line 660 of file testresultlogger.c.
int xml_end_element | ( | void | ) |
Write end element tag
Definition at line 697 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 272 of file testresultlogger.c.
LOCAL int xml_write_post_set_tag | ( | td_set * | set | ) |
Write set start tag and cases result xml
set | set data |
Definition at line 364 of file testresultlogger.c.
LOCAL int xml_write_pre_set_tag | ( | td_set * | set | ) |
Write pre-set xml tag
set | set data |
Definition at line 135 of file testresultlogger.c.
LOCAL int xml_write_pre_suite_tag | ( | td_suite * | suite | ) |
Write suite start xml tag
suite | suite data |
Definition at line 111 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 172 of file testresultlogger.c.
LOCAL FILE* ofile |
Definition at line 61 of file testresultlogger.c.
struct { ... } out_cbs |
int(* write_post_set_tag)(td_set *) |
int(* write_post_suite_tag)(void) |
int(* write_pre_set_tag)(td_set *) |
int(* write_pre_suite_tag)(td_suite *) |
LOCAL xmlTextWriterPtr writer |
Definition at line 60 of file testresultlogger.c.