66 //test(); |
67 //test(); |
67 |
68 |
68 printf("%s", "Webserver Test Suite\n====================\n\n"); |
69 printf("%s", "Webserver Test Suite\n====================\n\n"); |
69 |
70 |
70 UcxTestSuite* suite = ucx_test_suite_new(); |
71 UcxTestSuite* suite = ucx_test_suite_new(); |
|
72 |
|
73 // util tests |
|
74 ucx_test_register(suite, test_util_uri_escape_alphanum); |
|
75 ucx_test_register(suite, test_util_uri_escape_space); |
|
76 ucx_test_register(suite, test_util_uri_escape_latin); |
|
77 ucx_test_register(suite, test_util_uri_escape_kanji); |
71 |
78 |
72 // vfs tests |
79 // vfs tests |
73 ucx_test_register(suite, test_vfs_open); |
80 ucx_test_register(suite, test_vfs_open); |
74 ucx_test_register(suite, test_vfs_mkdir); |
81 ucx_test_register(suite, test_vfs_mkdir); |
75 ucx_test_register(suite, test_vfs_opendir); |
82 ucx_test_register(suite, test_vfs_opendir); |