Go to the source code of this file.
◆ ok_wstr
◆ ok_wstr_()
Definition at line 13 of file LCMapString.c.
14{
15 char buf1[100], buf2[100];
19}
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
◆ START_TEST()
Definition at line 57 of file LCMapString.c.
58{
60}
static void TEST_LCMapStringW(void)
◆ TEST_LCMapStringW()
Definition at line 28 of file LCMapString.c.
29{
31
33 ok_wstr(
results,
L"\xff21\xff22\xff41\xff42\xff11\xff12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\x30d1\x4e07\x842c");
34
36 ok_wstr(
results,
L"ABab12ABab12\x3042\xff71\x3070\xff8a\xff9e\xff8a\xff9f\x4e07\x842c");
37
39 ok_wstr(
results,
L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x3042\x3070\x3070\xff8a\xff9f\x4e07\x842c");
40
42 ok_wstr(
results,
L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x30a2\x30a2\x30d0\x30d0\xff8a\xff9f\x4e07\x842c");
43
45 ok_wstr(
results,
L"abab12\xff41\xff42\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x4e07\x842c");
46
48 ok_wstr(
results,
L"ABAB12\xff21\xff22\xff21\xff22\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x4e07\x842c");
49
51 ok_wstr(
results,
L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x4e07\x4e07");
52
54 ok_wstr(
results,
L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x842c\x842c");
55}
static const WCHAR c_target[]
static struct _test_info results[8]
INT WINAPI LCMapStringW(LCID lcid, DWORD flags, LPCWSTR src, INT srclen, LPWSTR dst, INT dstlen)
#define LCMAP_SIMPLIFIED_CHINESE
#define LCMAP_TRADITIONAL_CHINESE
Referenced by START_TEST().
◆ c_target
Initial value:=
L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x4e07\x842c"
Definition at line 25 of file LCMapString.c.
Referenced by TEST_LCMapStringW().