reactos/rostests/apitests/crt/testlist.c
Thomas Faber bfa1295d2b [CRT_APITEST]
- Add tests for static initialization and static constructors
CORE-10562

svn path=/trunk/; revision=69991
2015-11-21 12:04:36 +00:00

51 lines
1.3 KiB
C

#define __ROS_LONG64__
#define STANDALONE
#include <apitest.h>
#if defined(TEST_MSVCRT)
extern void func__vscprintf(void);
extern void func__vscwprintf(void);
#endif
#if defined(TEST_NTDLL)
extern void func__vscwprintf(void);
#endif
extern void func__vsnprintf(void);
extern void func__vsnwprintf(void);
extern void func_mbstowcs(void);
extern void func_sprintf(void);
extern void func_strcpy(void);
extern void func_wcstombs(void);
extern void func_static_construct(void);
extern void func_static_init(void);
const struct test winetest_testlist[] =
{
{ "_vsnprintf", func__vsnprintf },
{ "_vsnwprintf", func__vsnwprintf },
{ "mbstowcs", func_mbstowcs },
{ "sprintf", func_sprintf },
{ "strcpy", func_strcpy },
{ "wcstombs", func_wcstombs },
#if defined(TEST_CRTDLL) || defined(TEST_MSVCRT) || defined(TEST_STATIC_CRT)
// ...
#endif
#if defined(TEST_STATIC_CRT) || defined(TEST_MSVCRT)
// ...
#endif
#if defined(TEST_STATIC_CRT)
#elif defined(TEST_MSVCRT)
{ "_vscprintf", func__vscprintf },
{ "_vscwprintf", func__vscwprintf },
{ "static_construct", func_static_construct },
{ "static_init", func_static_init },
#elif defined(TEST_NTDLL)
{ "_vscwprintf", func__vscwprintf },
#elif defined(TEST_CRTDLL)
#endif
{ 0, 0 }
};