comctl32/tests: Disable a test that crashes on NT4.

This commit is contained in:
Alexandre Julliard 2009-03-05 23:05:13 +01:00
parent ff28ec0ddd
commit 74271fc4cf
1 changed files with 8 additions and 5 deletions

View File

@ -291,11 +291,14 @@ static void test_gettext(void)
r = SendMessageW(hwnd, TTM_ADDTOOL, 0, (LPARAM)&toolinfoW);
ok(r, "Adding the tool to the tooltip failed\n");
if (0) /* crashes on NT4 */
{
toolinfoW.hwnd = NULL;
toolinfoW.uId = 0x1234ABCD;
toolinfoW.lpszText = bufW;
SendMessageW(hwnd, TTM_GETTEXTW, 0, (LPARAM)&toolinfoW);
ok(toolinfoW.lpszText[0] == 0, "lpszText should be an empty string\n");
}
DestroyWindow(hwnd);
}