equal
deleted
inserted
replaced
21 |
21 |
22 #ifndef CHECK_H |
22 #ifndef CHECK_H |
23 #define CHECK_H |
23 #define CHECK_H |
24 |
24 |
25 #include <stddef.h> |
25 #include <stddef.h> |
|
26 #include <stdio.h> |
26 |
27 |
27 |
28 |
28 /* Check: a unit test framework for C |
29 /* Check: a unit test framework for C |
29 |
30 |
30 Check is a unit test framework for C. It features a simple |
31 Check is a unit test framework for C. It features a simple |
61 #define CK_CPPSTART extern "C" { |
62 #define CK_CPPSTART extern "C" { |
62 CK_CPPSTART |
63 CK_CPPSTART |
63 #endif |
64 #endif |
64 |
65 |
65 #include <sys/types.h> |
66 #include <sys/types.h> |
|
67 #include "libgstreamer_wsd_solution.h" |
66 |
68 |
|
69 #if !EMULATOR |
|
70 #ifdef __SYMBIAN32__ |
|
71 IMPORT_C |
|
72 #endif |
|
73 FILE** get_fp_std_log(); |
|
74 |
|
75 #ifdef __SYMBIAN32__ |
|
76 IMPORT_C |
|
77 #endif |
|
78 int* get_assert_failed(); |
|
79 |
|
80 #ifdef __SYMBIAN32__ |
|
81 IMPORT_C |
|
82 #endif |
|
83 char** get_xmlfile(); |
|
84 #endif//EMULATOR |
67 |
85 |
68 |
86 |
69 /* Fail the test case unless expr is true */ |
87 /* Fail the test case unless expr is true */ |
70 /* The space before the comma sign before ## is essential to be compatible |
88 /* The space before the comma sign before ## is essential to be compatible |
71 with gcc 2.95.3 and earlier. |
89 with gcc 2.95.3 and earlier. |
105 IMPORT_C |
123 IMPORT_C |
106 #endif |
124 #endif |
107 |
125 |
108 void _fail_unless (int result, const char *file, |
126 void _fail_unless (int result, const char *file, |
109 int line, const char *expr, ...); |
127 int line, const char *expr, ...); |
|
128 #ifdef __SYMBIAN32__ |
|
129 IMPORT_C |
|
130 #endif |
|
131 void send_failure_info(const char* msg, const char* file, int line); |
110 |
132 |
111 #ifdef __cplusplus |
133 #ifdef __cplusplus |
112 #define CK_CPPEND } |
134 #define CK_CPPEND } |
113 CK_CPPEND |
135 CK_CPPEND |
114 |
136 |