/[ascend]/trunk/base/generic/compiler/test/test_register_compiler.h
ViewVC logotype

Contents of /trunk/base/generic/compiler/test/test_register_compiler.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1640 - (show annotations) (download) (as text)
Thu Nov 8 12:54:16 2007 UTC (12 years, 11 months ago) by jpye
File MIME type: text/x-chdr
File size: 1287 byte(s)
Renamed test to a sensible name.
1 /* ASCEND modelling environment
2 Copyright (C) 2007 Carnegie Mellon University
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
18 *//* @file
19 Test registration function for the 'compiler' component.
20 */
21
22 #include "CUnit/CUnit.h"
23
24 #define SUITE compiler
25
26 #define TESTS(T) \
27 T(basics)
28
29 #define PROTO(SUITE,NAME) CU_ErrorCode test_register_##SUITE##_##NAME(void);
30
31 #define PROTO_SUITE(SUITE) CU_ErrorCode test_register_##SUITE(void)
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 PROTO_SUITE(SUITE);
38 /**<
39 * Registers all tests for the ASCEND general component.
40 * Returns a CUnit error code (CUE_SUCCESS if no errors).
41 */
42
43 #ifdef __cplusplus
44 }
45 #endif
46

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