reactos/modules/rostests/apitests
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
..
acpi [NDK][REGEDIT][ROSTESTS:ACPI] Make IO_RESOURCE_REQUIREMENTS_LIST accessible to user mode code 2024-07-14 14:31:41 +02:00
advapi32 [NTDLL][ADVAPI32][ADVAPI32_APITEST][CRYPTLIB] Add hash API exports for NT6+ and apitests with small fixes 2024-04-13 12:41:36 +02:00
advpack [ADVPACK_APITEST] Add advpack_apitest:DelNode testcase (#5256) 2023-04-27 20:35:41 +09:00
afd
apisets Rework apisets to use a table 2024-04-27 22:51:34 +02:00
apphelp [APPHELP_APITEST] Fix build, addendum to commit a8755711b 2023-10-05 21:32:38 +02:00
appshim
atl [ATL][ATL_APITEST] Add some missing CRect methods (#5800) 2023-10-16 21:57:57 +09:00
browseui [SDK] Define CCoInit in shellutils 2022-11-01 21:24:14 +01:00
cmd
com [SHDOCVW][SDK][COM_APITEST] Implement MRU List for Shell Bag, Part 1 (#5626) 2023-08-31 09:35:00 +09:00
comctl32
compiler [COMPILER_APITEST] Add tests for float to int conversion 2024-08-27 21:34:50 +03:00
crt [CRT_APITEST] Add test for rand_s 2024-04-25 05:25:12 +02:00
dbghelp [DBGHELP_APITEST] Skip more tests on 2k3's dbghelp.dll 2023-02-03 17:45:14 +01:00
dciman32
dnsapi
fltlib
fontext
gdi32 [GDI32_APITEST] Enhance MaskBlt testcase for error code (#7074) 2024-07-05 05:04:37 +09:00
gditools
imm32 [IMM32_APITEST] Add KLID testcase (#6590) 2024-03-10 22:36:40 +09:00
include [UMKM_APITEST] Add a test for syscall handling 2024-04-06 08:14:52 +02:00
iphlpapi [IPHLPAPI_APITEST] Fix tests so they pass on Windows 2003 and Windows 10 2023-04-17 00:41:31 +03:00
kernel32 [KERNEL32_APITEST] Add LCMapString testcase (#6805) 2024-04-26 08:39:45 +09:00
loadconfig
localspl [CMAKE] Add support for "IMAGEBASE default" and use it for test/sample dlls 2023-11-10 19:20:24 +02:00
mountmgr
msgina
mspatcha
msvcrt
netapi32
netshell
ntdll [CMAKE] Use COMPILE_OPTIONS instead of superseded COMPILE_FLAGS 2024-08-21 11:34:48 +03:00
ole32
opengl32
pefile
powrprof
psapi
rtl [CMAKE] Use COMPILE_OPTIONS instead of superseded COMPILE_FLAGS 2024-08-21 11:34:48 +03:00
sdk [DBGHELP_APITEST][SDK_APITEST] Fix initializing global variables 2022-04-26 03:38:37 +03:00
setupapi
sfc
shdocvw [SHDOCVW][SHDOCVW_APITEST] Implement MRU List for Shell Bag, Part 6 (#5699) 2023-09-18 20:13:29 +09:00
shell32 [SHELL32_APITEST] SHParseDisplayName: Add tests for shell:windows\system32 etc. (#7157) 2024-07-19 22:41:02 +09:00
shlwapi [SHLWAPI][SHLWAPI_APITEST][SDK] Implement IShellFolder_GetDisplayNameOf (#6918) 2024-05-23 22:57:31 +09:00
spoolss
umkm [UMKM_APITEST] Add a test for syscall handling 2024-04-06 08:14:52 +02:00
user32 [USER32_APITEST] Improve RedrawWindow API test by testing flags (#7160) 2024-09-01 14:32:43 +03:00
user32_dynamic
userenv
utildll
uxtheme [UXTHEME_APITEST] Skip some tests that fail without a theme 2023-02-02 15:13:54 +01:00
win32nt [WIN32NT_APITEST] Update NtUserSetTimer API tests (#7278) 2024-08-30 18:26:15 -05:00
win32u [WIN32U_VISTA] Add win32u.dll for Vista 2024-04-22 10:15:40 +02:00
winhttp
wininet
winprint
winspool
wlanapi
ws2_32 [WS2_32_APITEST] Test overlapping recv overread. CORE-18328 2023-03-19 12:39:09 -04:00
wscript [CSCRIPT][WSCRIPT][BOOTDATA] Basic .wsf support (#6140) 2024-05-19 13:57:47 +02:00
zipfldr [ZIPFLDR_APITEST] Fix the test on 2k3, where a zip folder is marked as 'file', not as 'folder' 2023-02-01 15:43:32 +01:00
CMakeLists.txt [CSCRIPT][WSCRIPT][BOOTDATA] Basic .wsf support (#6140) 2024-05-19 13:57:47 +02:00