00001 /* 00002 * CUnit - A Unit testing framework library for C. 00003 * Copyright (C) 2001 Anil Kumar 00004 * Copyright (C) 2004 Anil Kumar, Jerry St.Clair 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Library General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * Contains Interface for Automated Run tests which generates HTML Report Files. 00023 * 00024 * Created By : Anil Kumar on ...(in month of Feb 2002) 00025 * Last Modified : 13/Feb/2002 00026 * Comment : Single interface to automated_run_tests 00027 * EMail : aksaharan@yahoo.com 00028 * 00029 * Modified : 20-Jul-2004 (JDS) 00030 * Comment : New interface, doxygen comments. 00031 * EMail : jds2@users.sourceforge.net 00032 */ 00033 00041 #ifndef _CUNIT_AUTOMATED_H 00042 #define _CUNIT_AUTOMATED_H 00043 00044 #include "CUnit.h" 00045 #include "TestDB.h" 00046 00047 #ifdef __cplusplus 00048 extern "C" { 00049 #endif 00050 00051 void CU_automated_run_tests(void); 00052 CU_ErrorCode CU_list_tests_to_file(void); 00053 void CU_set_output_filename(const char* szFilenameRoot); 00054 00055 #ifdef USE_DEPRECATED_CUNIT_NAMES 00056 00057 #define automated_run_tests() CU_automated_run_tests() 00058 00059 #define set_output_filename(x) CU_set_output_filename((x)) 00060 #endif /* USE_DEPRECATED_CUNIT_NAMES */ 00061 00062 #ifdef __cplusplus 00063 } 00064 #endif 00065 #endif /* _CUNIT_AUTOMATED_H_ */ 00066