/[ascend]/trunk/test/CUnit/CUCurses.h
ViewVC logotype

Contents of /trunk/test/CUnit/CUCurses.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 59 - (show annotations) (download) (as text)
Sun Oct 30 01:38:20 2005 UTC (17 years, 7 months ago) by jds
File MIME type: text/x-chdr
File size: 2058 byte(s)
- prototype unit test suite based on CUnit added.
- unit tests for base/generic/general and base/generic/utilites added.
- 2nd manual rework of doxygen documentation in general and utilities.
- bug fixes (mostly general & utilities) found during test development.
- added asc_assert prototype to redirect failures to Asc_Panic() and enable decoupling assertions from NDEBUG.
- some modifications of interface & implementation to facilitate testing.
- utilities/ascPrint & utilities/ascMalloc functions now always included in base libs to minimize recompilation when an interface chooses different options.
1 /*
2 * CUnit - A Unit testing framework library for C.
3 * Copyright (C) 2001 Anil Kumar
4 * Copyright (C) 2004, 2005 Anil Kumar, Jerry St.Clair
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 /*
22 * Contains Interface for console Run tests.
23 *
24 * Created By : Anil Kumar on ...(in month of Aug 2001)
25 * Last Modified : 09/Aug/2001
26 * Comment : Single interface to Console_run_tests
27 * EMail : aksaharan@yahoo.com
28 *
29 * Modified : 18-Jul-2004 (JDS)
30 * Comment : New interface
31 * EMail : jds2@users.sourceforge.net
32 *
33 * Modified : 21-Apr-2005 (JDS)
34 * Comment : Changed header name to avoid clash with system curses.h
35 * EMail : jds2@users.sourceforge.net
36 */
37
38 /** @file
39 * Curses testing interface with interactive output (user interface).
40 */
41 /** @addtogroup Curses
42 * @{
43 */
44
45 #ifndef CUNIT_CURSES_H_SEEN
46 #define CUNIT_CURSES_H_SEEN
47
48 #include "CUnit.h"
49 #include "TestDB.h"
50
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54
55 CU_EXPORT void CU_curses_run_tests(void);
56
57 #ifdef USE_DEPRECATED_CUNIT_NAMES
58 /** Deprecated (version 1). @deprecated Use CU_curses_run_tests(). */
59 #define curses_run_tests() CU_curses_run_tests()
60 #endif
61
62 #ifdef __cplusplus
63 }
64 #endif
65 #endif /* CUNIT_CURSES_H_SEEN */
66 /** @} */

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22