Mercurial > MadButterfly
comparison src/testcase.c @ 410:1a923ea699c1
shape_stext.c, now, is unittested.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 08 Jul 2009 21:12:14 +0800 |
parents | 65cabbdd5284 |
children | 586e50f82c1f |
comparison
equal
deleted
inserted
replaced
409:1e9b615a47e8 | 410:1a923ea699c1 |
---|---|
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 extern CU_pSuite get_observer_suite(void); |
10 extern CU_pSuite get_event_suite(void); | 10 extern CU_pSuite get_event_suite(void); |
11 extern CU_pSuite get_stext_suite(void); | |
11 | 12 |
12 int | 13 int |
13 main(int argc, char * const argv[]) { | 14 main(int argc, char * const argv[]) { |
14 CU_pSuite suite; | 15 CU_pSuite suite; |
15 | 16 |
38 if(suite == NULL) | 39 if(suite == NULL) |
39 return CU_get_error(); | 40 return CU_get_error(); |
40 suite = get_event_suite(); | 41 suite = get_event_suite(); |
41 if(suite == NULL) | 42 if(suite == NULL) |
42 return CU_get_error(); | 43 return CU_get_error(); |
44 suite = get_stext_suite(); | |
45 if(suite == NULL) | |
46 return CU_get_error(); | |
43 | 47 |
44 CU_basic_set_mode(CU_BRM_VERBOSE); | 48 CU_basic_set_mode(CU_BRM_VERBOSE); |
45 CU_basic_run_tests(); | 49 CU_basic_run_tests(); |
46 CU_cleanup_registry(); | 50 CU_cleanup_registry(); |
47 | 51 |