[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: richedit: Fixed test failing on windows version with larger font
From:       "Juan Lang" <juan.lang () gmail ! com>
Date:       2008-09-29 19:59:37
Message-ID: 3a768c550809291259w78724e55h5df080729436a651 () mail ! gmail ! com
[Download RAW message or body]

Hi Dylan,

@@ -402,6 +401,10 @@ static void test_EM_SCROLLCARET(void)
       "ff\n"
       "gg\n"
       "hh\n";
+  HWND hwndRichEdit = CreateWindow(RICHEDIT_CLASS, NULL,
+
ES_MULTILINE|WS_POPUP|WS_HSCROLL|WS_VSCROLL|WS_VISIBLE,
+                                   0, 0, 200, 80, NULL, NULL,
hmoduleRichEdit, NULL);
+  ok(hwndRichEdit != NULL, "class: %s, error: %d\n", RICHEDIT_CLASS,
(int) GetLastError());

It seems to me in this case that describing the relevant parameters to
CreateWindow--I assume just height?--and why they're important to the
test might help people not break the test in the future.
--Juan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic