[CRT_APITEST] Add testcase for mbtowc() (#2652)
[reactos.git] / modules / rostests / apitests / crt / testlist.c
1 #define __ROS_LONG64__
2
3 #define STANDALONE
4 #include <apitest.h>
5
6 #if defined(TEST_MSVCRT)
7 extern void func__vscprintf(void);
8 extern void func__vscwprintf(void);
9 #endif
10 #if defined(TEST_NTDLL)
11 extern void func__vscwprintf(void);
12 #endif
13 extern void func_fputc(void);
14 extern void func_fputwc(void);
15 extern void func__snprintf(void);
16 extern void func__snwprintf(void);
17 extern void func__vsnprintf(void);
18 extern void func__vsnwprintf(void);
19 extern void func_mbstowcs(void);
20 extern void func_mbtowc(void);
21 extern void func_sprintf(void);
22 extern void func_strcpy(void);
23 extern void func_strlen(void);
24 extern void func_strnlen(void);
25 extern void func_strtoul(void);
26 extern void func_wcsnlen(void);
27 extern void func_wcstombs(void);
28 extern void func_wcstoul(void);
29 extern void func___getmainargs(void);
30
31 extern void func_static_construct(void);
32 extern void func_static_init(void);
33
34 const struct test winetest_testlist[] =
35 {
36 { "_vsnprintf", func__vsnprintf },
37 { "_vsnwprintf", func__vsnwprintf },
38 { "mbstowcs", func_mbstowcs },
39 { "mbtowc", func_mbtowc },
40 { "_snprintf", func__snprintf },
41 { "_snwprintf", func__snwprintf },
42 { "sprintf", func_sprintf },
43 { "strcpy", func_strcpy },
44 { "strlen", func_strlen },
45 { "strtoul", func_strtoul },
46 { "wcstoul", func_wcstoul },
47 { "wcstombs", func_wcstombs },
48 #if defined(TEST_CRTDLL) || defined(TEST_MSVCRT) || defined(TEST_STATIC_CRT)
49 // ...
50 #endif
51 #if defined(TEST_STATIC_CRT) || defined(TEST_MSVCRT)
52 // ...
53 #endif
54 #if defined(TEST_STATIC_CRT)
55 #elif defined(TEST_MSVCRT)
56 #if defined(_M_IX86)
57 { "__getmainargs", func___getmainargs },
58 #endif
59 { "_vscprintf", func__vscprintf },
60 { "_vscwprintf", func__vscwprintf },
61
62 { "static_construct", func_static_construct },
63 { "static_init", func_static_init },
64 #elif defined(TEST_NTDLL)
65 { "_vscwprintf", func__vscwprintf },
66 #elif defined(TEST_CRTDLL)
67 #endif
68 { 0, 0 }
69 };
70