comparison src/testcase.c @ 73:9ab15ebc9061

Observer for mouse events
author Thinker K.F. Li <thinker@branda.to>
date Mon, 18 Aug 2008 01:59:26 +0800
parents c986e45c1e91
children 65cabbdd5284
comparison
equal deleted inserted replaced
72:171a8cb7e4b5 73:9ab15ebc9061
4 extern CU_pSuite get_coord_suite(void); 4 extern CU_pSuite get_coord_suite(void);
5 extern CU_pSuite get_geo_suite(void); 5 extern CU_pSuite get_geo_suite(void);
6 extern CU_pSuite get_shape_path_suite(void); 6 extern CU_pSuite get_shape_path_suite(void);
7 extern CU_pSuite get_redraw_man_suite(void); 7 extern CU_pSuite get_redraw_man_suite(void);
8 extern CU_pSuite get_animate_suite(void); 8 extern CU_pSuite get_animate_suite(void);
9 extern CU_pSuite get_observer_suite(void);
9 10
10 int 11 int
11 main(int argc, char * const argv[]) { 12 main(int argc, char * const argv[]) {
12 CU_pSuite suite; 13 CU_pSuite suite;
13 14
30 if(suite == NULL) 31 if(suite == NULL)
31 return CU_get_error(); 32 return CU_get_error();
32 suite = get_animate_suite(); 33 suite = get_animate_suite();
33 if(suite == NULL) 34 if(suite == NULL)
34 return CU_get_error(); 35 return CU_get_error();
36 suite = get_observer_suite();
37 if(suite == NULL)
38 return CU_get_error();
35 39
36 CU_basic_set_mode(CU_BRM_VERBOSE); 40 CU_basic_set_mode(CU_BRM_VERBOSE);
37 CU_basic_run_tests(); 41 CU_basic_run_tests();
38 CU_cleanup_registry(); 42 CU_cleanup_registry();
39 43