Back to index

lightning-sunbird  0.9+nobinonly
regression.h
Go to the documentation of this file.
00001 #ifdef  __cplusplus
00002 extern "C" {
00003 #endif
00004 
00005 extern int VERBOSE;
00006 extern int QUIET;
00007 
00008 /* regression-component.c */
00009 void create_new_component(void);
00010 void create_new_component_with_va_args(void);
00011 void create_simple_component(void);
00012 void test_icalcomponent_get_span(void);
00013 void create_new_component_with_va_args(void);
00014 
00015 /* regression-classify.c */
00016 void test_classify(void);
00017 
00018 /* regression-recur.c */
00019 void test_recur_file(void);
00020 
00021 /* regression-cxx.c */
00022 void test_cxx(void);
00023 
00024 /* regression-storage.c */
00025 void test_fileset_extended(void);
00026 void test_dirset_extended(void);
00027 void test_bdbset(void);
00028 
00029 /* regression-utils.c */
00030 const char* ical_timet_string(const time_t t);
00031 const char* ictt_as_string(struct icaltimetype t);
00032 char* icaltime_as_ctime(struct icaltimetype t);
00033 
00034 
00035 void _ok(char*name, int result, char*file, int linenum, char *test);
00036 void _is(char* test_name, const char* str1, const char* str2, char *file, int linenum);
00037 void _int_is(char* test_name, int i1, int i2, char *file, int linenum);
00038 #define ok(TEST, EX) (_ok(TEST, EX, __FILE__, __LINE__, #EX))
00039 #define is(S1, S2, EX) (_is(S1, S2, EX, __FILE__, __LINE__))
00040 #define int_is(I1, I2, EX) (_int_is(I1, I2, EX, __FILE__, __LINE__))
00041 void test_header(char*title, int test_set);
00042 void test_start(int);
00043 void test_end(void);
00044 void test_run(char *test_name, 
00045              void (*test_fcn)(void), 
00046              int do_test, int headeronly);
00047 
00048 
00049 
00050 
00051 #ifdef  __cplusplus
00052 }
00053 #endif