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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 59 - (show annotations) (download) (as text)
Sun Oct 30 01:38:20 2005 UTC (15 years ago) by jds
File MIME type: text/x-chdr
File size: 1934 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 : 20-Jul-2004 (JDS)
30 * Comment : New interface, doxygen comments
31 * EMail : jds2@users.sourceforge.net
32 */
33
34 /** @file
35 * Console interface with interactive output (user interface).
36 */
37 /** @addtogroup Console
38 * @{
39 */
40
41 #ifndef CUNIT_CONSOLE_H_SEEN
42 #define CUNIT_CONSOLE_H_SEEN
43
44 #include "CUnit.h"
45 #include "TestDB.h"
46
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50
51 CU_EXPORT void CU_console_run_tests(void);
52
53 #ifdef USE_DEPRECATED_CUNIT_NAMES
54 /** Deprecated (version 1). @deprecated Use CU_console_run_tests(). */
55 #define console_run_tests() CU_console_run_tests()
56 #endif /* USE_DEPRECATED_CUNIT_NAMES */
57
58 #ifdef __cplusplus
59 }
60 #endif
61 #endif /* CUNIT_CONSOLE_H_SEEN */
62 /** @} */

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