reactos/modules/rostests/apitests/user32
Tomáš Veselý 52d6a71461
[USER32_APITEST] Improve RedrawWindow API test by testing flags (#7160)
As part of fixing some bugs like CORE-13149, extend the tests to include more detailed examination of rendering functions. Extend the RedrawWindow test to include tests of all flags. As part of it, I am also testing the 2-point states of the render areas.

I moved the original test without changes into a separate function GetMessageRedrawWindowTest. For the flag tests I added FlagsRedrawWindowTest function. It sequentially tests the RedrawWindow with different flag combinations and compares the results with those discovered in Windows XP and Windows 11 (the values in both versions confirmed to be identical).

The API test turned out well in ReactOS, the only deviation was that in many cases (whenever the RDW_INVALIDATE flag is present) a WM_ERASEBKGND message is received after the window is rendered without the RDW_ERASE flag.
(this is what I'm focusing on now in https://github.com/turican0/reactos/tree/fix-RDW_ERASE-in-co_UserRedrawWindow, but before I merge it, I want to create more API tests)
2024-09-01 14:32:43 +03:00
..
makeimg [USER32_APITEST] Test MSVC rc.exe compiled 32-bpp BI_BITFIELD bmp (#6755) 2024-04-27 13:30:51 -05:00
AttachThreadInput.c
CharFuncs.c
CloseWindow.c
CMakeLists.txt [USER32_APITEST] Add scrollbar showing/hiding testcase (#7254) 2024-08-27 13:25:02 -05:00
CopyImage.c [USER32][USER32_APITEST] CopyImage: Check flags (#7075) 2024-07-08 19:24:15 +09:00
cpimg2e.exe [USER32_APITEST] Add test for bad 'Icon Groups' but good 'Icons' such as F1'97 (#6020) 2023-11-26 15:26:05 +00:00
CreateDialog.c
CreateIconFromResourceEx.c
CreateWindowEx.c
DeferWindowPos.c
desktop.c
DestroyCursorIcon.c
DM_REPOSITION.c
DrawIconEx.c
DrawText.c
EmptyClipboard.c
EnumDisplaySettings.c
GetClassInfo.c
GetDCEx.c
GetIconInfo.c
GetKeyState.c
GetMessageTime.c
GetPeekMessage.c
GetSetWindowInt.c
GetSystemMetrics.c
GetUserObjectInformation.c
GetWindowPlacement.c
GW_ENABLEDPOPUP.c [USER32_APITEST][SDK] Add GW_ENABLEDPOPUP testcase (#6564) 2024-03-06 07:52:30 +09:00
image.dll [USER32_APITEST] Test MSVC rc.exe compiled 32-bpp BI_BITFIELD bmp (#6755) 2024-04-27 13:30:51 -05:00
InitializeLpkHooks.c
KbdLayout.c
keybd_event.c
LoadImage.c [USER32] Support loading icons from data file module (#6065) 2023-12-17 22:11:50 +01:00
LoadImageGCC.c [USER32_APITEST] Test MSVC rc.exe compiled 32-bpp BI_BITFIELD bmp (#6755) 2024-04-27 13:30:51 -05:00
LookupIconIdFromDirectoryEx.c
MessageStateAnalyzer.c
NextDlgItem.c
precomp.h Add missing OEMRESOURCE for using the OBM_, OIC_, OCR_ defines from winuser.h 2023-11-22 17:02:45 +01:00
PrivateExtractIcons.c [USER32_APITEST] Add test for bad 'Icon Groups' but good 'Icons' such as F1'97 (#6020) 2023-11-26 15:26:05 +00:00
RealGetWindowClass.c
RedrawWindow.c [USER32_APITEST] Improve RedrawWindow API test by testing flags (#7160) 2024-09-01 14:32:43 +03:00
RegisterClassEx.c
RegisterHotKey.c
resource.h [USER32_APITEST] Test MSVC rc.exe compiled 32-bpp BI_BITFIELD bmp (#6755) 2024-04-27 13:30:51 -05:00
ROS.ico [USER32_APITEST] Improve user32:PrivateExtractIcons test (#5209) 2023-07-10 22:24:41 +03:00
ScrollBarRedraw.c [USER32_APITEST] Add scrollbar showing/hiding testcase (#7254) 2024-08-27 13:25:02 -05:00
ScrollBarWndExtra.c
ScrollDC.c
ScrollWindowEx.c
SendMessageTimeout.c
SetActiveWindow.c
SetCursorPos.c
SetFocus.c
SetParent.c
SetProp.c
SetScrollInfo.c
SetScrollRange.c
SetWindowPlacement.c [USER32_APITEST] Add SetWindowPlacement testcase (#7082) 2024-07-08 00:34:18 +09:00
ShowWindow.c
SwitchToThisWindow.c
sysicon.ico [USER32_APITEST] Improve user32:PrivateExtractIcons test (#5209) 2023-07-10 22:24:41 +03:00
SystemMenu.c [USER32_APITEST] Add a test for system menu messages (#5573) 2023-08-24 16:33:03 +02:00
SystemParametersInfo.c
test.cur
test.ico
testlist.c [USER32_APITEST] Add scrollbar showing/hiding testcase (#7254) 2024-08-27 13:25:02 -05:00
TrackMouseEvent.c
user32_apitest.rc [USER32_APITEST] Test MSVC rc.exe compiled 32-bpp BI_BITFIELD bmp (#6755) 2024-04-27 13:30:51 -05:00
verclasstest1.manifest
verclasstest2.manifest
VirtualKey.c
WndProc.c
wsprintf.c