00001 /* 00002 * This file is part of testrunner-lite 00003 * 00004 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00005 * 00006 * Contact: Sampo Saaristo <ext-sampo.2.saaristo@nokia.com> 00007 * 00008 * This program is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public License 00010 * version 2.1 as published by the Free Software Foundation. 00011 * 00012 * This program is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00020 * 02110-1301 USA 00021 * 00022 */ 00023 00024 #ifndef TESTRESULTLOGGER_H 00025 #define TESTRESULTLOGGER_H 00026 00027 /* ------------------------------------------------------------------------- */ 00028 /* INCLUDES */ 00029 #include "testrunnerlite.h" 00030 #include "testdefinitiondatatypes.h" 00031 #include "hwinfo.h" 00032 00033 /* ------------------------------------------------------------------------- */ 00034 /* CONSTANTS */ 00035 #define FAILURE_INFO_MAX 64 00036 00037 /* ------------------------------------------------------------------------- */ 00038 /* MACROS */ 00039 /* None */ 00040 00041 /* ------------------------------------------------------------------------- */ 00042 /* DATA TYPES */ 00043 /* ------------------------------------------------------------------------- */ 00044 /* None */ 00045 00046 /* ------------------------------------------------------------------------- */ 00047 /* FORWARD DECLARATIONS */ 00048 /* None */ 00049 00050 /* ------------------------------------------------------------------------- */ 00051 /* STRUCTURES */ 00052 /* None */ 00053 00054 /* ------------------------------------------------------------------------- */ 00055 /* FUNCTION PROTOTYPES */ 00056 int init_result_logger (testrunner_lite_options *, hw_info *); 00057 /* ------------------------------------------------------------------------- */ 00058 void close_result_logger (void); 00059 /* ------------------------------------------------------------------------- */ 00060 int write_pre_suite_tag (td_suite *); 00061 /* ------------------------------------------------------------------------- */ 00062 int write_post_suite_tag (); 00063 /* ------------------------------------------------------------------------- */ 00064 int write_pre_set_tag (td_set *); 00065 /* ------------------------------------------------------------------------- */ 00066 int write_post_set_tag (td_set *); 00067 /* ------------------------------------------------------------------------- */ 00068 int xml_end_element (void); 00069 /* ------------------------------------------------------------------------- */ 00070 #endif /* TESTRESULTLOGGER_H */ 00071 /* End of file */