32 #include <ucx/test.h> |
32 #include <ucx/test.h> |
33 |
33 |
34 #include "base64.h" |
34 #include "base64.h" |
35 #include "crypto.h" |
35 #include "crypto.h" |
36 |
36 |
|
37 #ifdef _WIN32 |
|
38 int wmain(int argc, wchar_t **argv) { |
|
39 return test_main(1, "davtest"); |
|
40 } |
|
41 #else |
37 int main(int argc, char **argv) { |
42 int main(int argc, char **argv) { |
|
43 return test_main(argc, argv); |
|
44 } |
|
45 #endif |
|
46 |
|
47 int test_main(int argc, char **argv) { |
38 printf("libidav tests\n"); |
48 printf("libidav tests\n"); |
39 printf("-------------\n\n"); |
49 printf("-------------\n\n"); |
40 |
50 |
41 UcxTestSuite* suite = ucx_test_suite_new(); |
51 UcxTestSuite* suite = ucx_test_suite_new(); |
42 |
52 |