mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[RICHED32_WINETEST] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
parent
b6743016f7
commit
d9010a8166
1 changed files with 3 additions and 3 deletions
|
@ -1263,8 +1263,8 @@ static void test_enter(void)
|
|||
SendMessageW(hwndRichEdit, WM_CHAR, 'T', 0);
|
||||
SendMessageW(hwndRichEdit, WM_CHAR, '\r', 0);
|
||||
|
||||
SendMessageA(hwndRichEdit, EM_GETTEXTEX, (WPARAM)&getText, (LPARAM)buf);
|
||||
ok(result == 1, "Got %d\n", (int)result);
|
||||
result = SendMessageA(hwndRichEdit, EM_GETTEXTEX, (WPARAM)&getText, (LPARAM)buf);
|
||||
ok(result == 3, "Got %ld\n", result);
|
||||
format_test_result(resultbuf, buf);
|
||||
format_test_result(expectedbuf, "T\r\n");
|
||||
result = strcmp(resultbuf, expectedbuf);
|
||||
|
@ -1358,7 +1358,7 @@ static void test_EM_EXSETSEL(void)
|
|||
/* Test with multibyte character */
|
||||
SendMessageA(hwndRichEdit, WM_SETTEXT, 0, (LPARAM)"abcdef\x8e\xf0ghijk");
|
||||
/* 012345 6 7 8901 */
|
||||
cr.cpMin = 4, cr.cpMax = 8;
|
||||
cr.cpMin = 4; cr.cpMax = 8;
|
||||
result = SendMessageA(hwndRichEdit, EM_EXSETSEL, 0, (LPARAM)&cr);
|
||||
todo_wine ok(result == 7, "EM_EXSETSEL return %ld expected 7\n", result);
|
||||
result = SendMessageA(hwndRichEdit, EM_GETSELTEXT, sizeof(bufA), (LPARAM)bufA);
|
||||
|
|
Loading…
Reference in a new issue