tests/ucxtest.c

changeset 782
74d777455e96
parent 781
a786b0a89b37
child 785
bb18daa62d5f
equal deleted inserted replaced
781:a786b0a89b37 782:74d777455e96
29 #include "cx/test.h" 29 #include "cx/test.h"
30 30
31 CxTestSuite *cx_test_suite_testing_allocator(void); 31 CxTestSuite *cx_test_suite_testing_allocator(void);
32 CxTestSuite *cx_test_suite_utils(void); 32 CxTestSuite *cx_test_suite_utils(void);
33 CxTestSuite *cx_test_suite_hash_key(void); 33 CxTestSuite *cx_test_suite_hash_key(void);
34 CxTestSuite *cx_test_suite_allocator(void);
34 CxTestSuite *cx_test_suite_string(void); 35 CxTestSuite *cx_test_suite_string(void);
35 CxTestSuite *cx_test_suite_printf(void); 36 CxTestSuite *cx_test_suite_printf(void);
36 CxTestSuite *cx_test_suite_mempool(void); 37 CxTestSuite *cx_test_suite_mempool(void);
37 38
38 #define run_tests(suite) cx_test_run_stdout(suite); success += (suite)->success; failure += (suite)->failure 39 #define run_tests(suite) cx_test_run_stdout(suite); success += (suite)->success; failure += (suite)->failure
45 46
46 execute_test_suites( 47 execute_test_suites(
47 cx_test_suite_testing_allocator(), 48 cx_test_suite_testing_allocator(),
48 cx_test_suite_utils(), 49 cx_test_suite_utils(),
49 cx_test_suite_hash_key(), 50 cx_test_suite_hash_key(),
51 cx_test_suite_allocator(),
50 cx_test_suite_string(), 52 cx_test_suite_string(),
51 cx_test_suite_printf(), 53 cx_test_suite_printf(),
52 cx_test_suite_mempool() 54 cx_test_suite_mempool()
53 ); 55 );
54 printf("=== OVERALL RESULT ===\n"); 56 printf("=== OVERALL RESULT ===\n");

mercurial