1 : /*
2 : * This file is part of MIN Test Framework. Copyright © 2008 Nokia Corporation
3 : * and/or its subsidiary(-ies).
4 : * Contact: Konrad Marek Zapalowicz
5 : * Contact e-mail: DG.MIN-Support@nokia.com
6 : *
7 : * This program is free software: you can redistribute it and/or modify it
8 : * under the terms of the GNU General Public License as published by the Free
9 : * Software Foundation, version 2 of the License.
10 : *
11 : * This program is distributed in the hope that it will be useful, but WITHOUT
12 : * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 : * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 : * more details. You should have received a copy of the GNU General Public
15 : * License along with this program. If not, see
16 : * <http://www.gnu.org/licenses/>.
17 : */
18 :
19 :
20 : /**
21 : * @file check_min_lego_interface.c
22 : * @version 0.1
23 : * @brief This file contains implementation of test for Min Lego
24 : * interface.
25 : */
26 :
27 : /* ------------------------------------------------------------------------- */
28 : /* INCLUDE FILES */
29 : #include <stdlib.h>
30 : #include <check.h>
31 :
32 : /* ------------------------------------------------------------------------- */
33 : /* EXTERNAL DATA STRUCTURES */
34 : /* None */
35 :
36 : /* ------------------------------------------------------------------------- */
37 : /* EXTERNAL GLOBAL VARIABLES */
38 : /* None */
39 :
40 : /* ------------------------------------------------------------------------- */
41 : /* EXTERNAL FUNCTION PROTOTYPES */
42 : extern int min_lego_interface_tests ();
43 : /* ------------------------------------------------------------------------- */
44 : /* GLOBAL VARIABLES */
45 : /* None */
46 :
47 : /* ------------------------------------------------------------------------- */
48 : /* CONSTANTS */
49 : /* None */
50 :
51 : /* ------------------------------------------------------------------------- */
52 : /* MACROS */
53 : /* None */
54 :
55 : /* ------------------------------------------------------------------------- */
56 : /* LOCAL GLOBAL VARIABLES */
57 : /* None */
58 :
59 : /* ------------------------------------------------------------------------- */
60 : /* LOCAL CONSTANTS AND MACROS */
61 : /* None */
62 :
63 : /* ------------------------------------------------------------------------- */
64 : /* MODULE DATA STRUCTURES */
65 : /* None */
66 :
67 : /* ------------------------------------------------------------------------- */
68 : /* LOCAL FUNCTION PROTOTYPES */
69 : int main (int argc, char *argv[])
70 48 : {
71 : int number_failed;
72 :
73 48 : number_failed = min_lego_interface_tests ();
74 :
75 1 : return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
76 : }
77 :
78 : /* ------------------------------------------------------------------------- */
79 : /* FORWARD DECLARATIONS */
80 : /* None */
81 :
82 : /* ==================== LOCAL FUNCTIONS ==================================== */
83 : /* None */
84 :
85 : /* ======================== FUNCTIONS ====================================== */
86 : /* None */
87 :
88 : /* ------------------------------------------------------------------------- */
89 : /* ================= OTHER EXPORTED FUNCTIONS ============================== */
90 : /* None */
91 :
92 : /* End of file */
|