mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
- Update wine test to 1.7.20.
svn path=/trunk/; revision=63603
This commit is contained in:
parent
d81aed45c9
commit
fc8ed44177
|
@ -564,6 +564,10 @@ static void test_DrawTextCalcRect(void)
|
|||
textheight = DrawTextA(hdc, wordbreak_text, -1, &rect, DT_CALCRECT | DT_WORDBREAK);
|
||||
ok(textheight == heightcheck * 2, "Got unexpected textheight %d, expected %d.\n",
|
||||
textheight, heightcheck * 2);
|
||||
SetRect(&rect, 0, 0, 1, 1);
|
||||
textheight = DrawTextA(hdc, wordbreak_text, -1, &rect, DT_CALCRECT | DT_WORDBREAK | DT_EDITCONTROL);
|
||||
ok(textheight >= heightcheck * 6, "Got unexpected textheight %d, expected at least %d.\n",
|
||||
textheight, heightcheck * 6);
|
||||
|
||||
SetRect(&rect, 0, 0, 1, 1);
|
||||
heightcheck = DrawTextW(hdc, wordbreak_textW, -1, &rect, DT_CALCRECT);
|
||||
|
@ -571,6 +575,10 @@ static void test_DrawTextCalcRect(void)
|
|||
textheight = DrawTextW(hdc, wordbreak_textW, -1, &rect, DT_CALCRECT | DT_WORDBREAK);
|
||||
ok(textheight == heightcheck * 2, "Got unexpected textheight %d, expected %d.\n",
|
||||
textheight, heightcheck * 2);
|
||||
SetRect(&rect, 0, 0, 1, 1);
|
||||
textheight = DrawTextW(hdc, wordbreak_textW, -1, &rect, DT_CALCRECT | DT_WORDBREAK | DT_EDITCONTROL);
|
||||
ok(textheight >= heightcheck * 6, "Got unexpected textheight %d, expected at least %d.\n",
|
||||
textheight, heightcheck * 6);
|
||||
|
||||
SelectObject(hdc, hOldFont);
|
||||
ret = DeleteObject(hFont);
|
||||
|
|
Loading…
Reference in a new issue