Commit Graph

2291 Commits

Author SHA1 Message Date
Timo Kreuzer
e3521ebcea [WIN32U_APITEST] Add a test for NtGdiCreateDIBSection 2026-01-07 21:52:55 +02:00
Timo Kreuzer
54fea662a1 [WIN32U_APITEST] Add more tests for NtGdiBitBlt 2026-01-07 21:52:55 +02:00
Timo Kreuzer
9b861cdf85 [WIN32U_APITEST] Add tests for NtGdiLineTo 2026-01-07 21:52:55 +02:00
Timo Kreuzer
c2ae15f384 [GDI32_APITEST] Check for GdiToolsInit failure 2026-01-07 21:52:55 +02:00
Timo Kreuzer
c7b28a10c9 [GDITOOLS] Implement ChangeScreenBpp helper 2026-01-07 21:52:55 +02:00
Timo Kreuzer
4746b1b96f [GDITOOLS] Don't create duplicate DDBs 2026-01-07 21:52:55 +02:00
Timo Kreuzer
681d1df0aa [WIN32U_APITEST] Fix tests for NtGdiBitBlt 2026-01-05 20:31:37 +02:00
Max Korostil
472cf2fd13 [NTUSER][WIN32U_APITEST] Fix NtUserGetCursorInfo BSOD, add tests (#8473)
Probe structure pointer before reading its cbSize.
Also move the TRACE debug print outside the user critical region.

CORE-18125
2025-12-31 15:00:38 +03:00
Timo Kreuzer
9af9e2bf0a [WIN32U_APITEST] Improve NtUserSystemParametersInfo test 2025-12-30 12:59:52 +02:00
Timo Kreuzer
48757bc743 [WIN32U_APITEST] Improve NtUserScrollDC test 2025-12-30 12:59:52 +02:00
Timo Kreuzer
a479aff655 [WIN32U_APITEST] Skip NtUserProcessConnect test on Vista+
NtUserProcessConnect can only be called by CSRSS on Vista+.
2025-12-30 12:59:52 +02:00
Timo Kreuzer
e04c703e65 [WIN32U_APITEST] Disable 2 tests for NtUserGetThreadState
These fail on Windows 2003. Needs investigation.
2025-12-30 12:59:52 +02:00
Timo Kreuzer
3b434431f5 [WIN32U_APITEST] Fix test for NtUserGetAsyncKeyState 2025-12-30 12:59:52 +02:00
Timo Kreuzer
ab0fe2f9d4 [WIN32U_APITEST] Fix test for NtGdiRestoreDC 2025-12-30 12:59:52 +02:00
Timo Kreuzer
228b3ca472 [WIN32U_APITEST] Fix NtGdiGetDIBitsInternal test 2025-12-30 12:59:52 +02:00
Timo Kreuzer
2e206b124e [WIN32U_APITEST] Rewrite test for NtGdiExtTextOutW 2025-12-30 12:59:52 +02:00
Timo Kreuzer
4671aaafa5 [WIN32U_APITEST] Try to fix NtGdiExtSelectClipRgn test 2025-12-30 12:59:52 +02:00
Timo Kreuzer
6529244477 [WIN32U_APITEST] Fix tests for NtGdiDeleteObjectApp on Vista+ 2025-12-30 12:59:52 +02:00
Timo Kreuzer
1cb7a74671 [WIN32U_APITEST] Comment out 2 tests in NtGdiArcInternal
These fail on win 2003. Needs more investigation.
2025-12-30 12:59:52 +02:00
Timo Kreuzer
f2a0018c74 [CRT_APITEST] Mark a test for _wpgmptr as todo 2025-12-30 12:57:14 +02:00
Timo Kreuzer
f19b8a2715 [CRT_APITEST] Fix version check for (_w)system on ReactOS
ReactOS behaves like Vista+ now.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
46d3aeeb54 [UCRTBASE_APITEST] Add tests for system/_wsystem 2025-12-30 12:57:14 +02:00
Timo Kreuzer
7e047d4eb7 [CRT_APITEST] Remove some obsolete todo_ros 2025-12-30 12:57:14 +02:00
Timo Kreuzer
4799c86d01 [MSVCRT_APITEST] Fix test condition for strtoul on ReactOS
Wine msvcrt behaves like Vista+ here.
Also disable related static_crt tests, because it isn't even well defined how they should behave and what to compare it to.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
89e4b6bef4 [NTDLL_APITEST] Add a test for LdrFindResource_U / CORE-20401
See CORE-20401, CORE-20408
2025-12-28 12:33:01 +02:00
Timo Kreuzer
454f25c7f3 [CRT_APITEST] Add a few more tests for _wcsicmp
These show that _wcsicmp does a lowercase comparison.
2025-12-28 12:33:01 +02:00
Timo Kreuzer
d267938737 [WIN32U_APITEST] Add tests for NtGdiSetPixel 2025-12-22 14:10:26 +02:00
Timo Kreuzer
9932008f8e [GDITOOLS] Add inverted and red-blue mono DIB sections 2025-12-22 14:10:26 +02:00
Timo Kreuzer
69cb5bc1ee [GDITOOLS] Add info-DC to global resources 2025-12-22 14:10:26 +02:00
Timo Kreuzer
7d6a5a50fb [GDITOOLS][GDI32_APITEST] Move resources to gditools lib
This allows to share them in win32knt_apitest.
2025-12-22 14:10:26 +02:00
Adam Słaboń
afbadf5c44 [NTOS:MM][KMTESTS] MmMapViewOfSection: Handle PAGE_NOCACHE and PAGE_WRITECOMBINE flags (#8502)
- Remove the hack for PAGE_NOCACHE flag that was introduced in commits aa52dc7498 (r68611) and 33d53d44da (r68612) for CORE-9808. The test case for PAGE_NOCACHE, introduced in 7346aece52 (r68351), did not expose any additional problems without it anymore.
- Allow a PAGE_WRITECOMBINE flag. Fixes a regression introduced in 59ae6b3e15 (CORE-20298) that caused the OpenGL ICD in Nvidia 78.05 driver to not use GPU hardware to accelerate OpenGL anymore (reported and tested by winterhell on Discord).
- Add a test case for MmMapViewOfSection with PAGE_WRITECOMBINE. The test passes on Windows 2003 SP2 and Vista RTM.
- Fix ASSERTs in MI_MAKE_HARDWARE_PTE functions.
2025-12-18 12:30:40 +03:00
Timo Kreuzer
bd9a83b92f [SHLWAPI_APITEST] Fix interface pointer type mismatch
If you query an IPropertyBag2, then your object pointer better be an IPropertyBag2*!
Fixes RTC failure with WinDbg on x86.
2025-12-12 12:21:53 +02:00
Timo Kreuzer
2b1e733a3c [CRT_APITEST] Fix strlen test on x86
The code called winetest_setlocation, which calls strrchr, which clears the direction flag, so the test was succeeding on x86, even though strlen never changes it. On Windows it somehow depends on whether you compile the test on the command line or inside VS.
This change fixes the test by explicitly reading eflags before using winetest_ok and placing a MemoryBarrier in between.
2025-12-12 12:21:53 +02:00
Timo Kreuzer
30ef8f3a74 [UCRTBASE_APITEST] Add wctomb test 2025-12-12 12:21:53 +02:00
Timo Kreuzer
c108de8094 [CRT_APITEST] Implement tests for _strlwr, _strupr, _wcslwr, _wcsupr 2025-12-10 09:55:30 +02:00
Timo Kreuzer
ae3eb6cb36 [CRT_APITEST] Implement tests for _wcsicmp and _wcsnicmp 2025-12-10 09:55:30 +02:00
Timo Kreuzer
ac63cef38b [CRT_APITEST] Implement tests for _stricmp and _strnicmp 2025-12-10 09:55:30 +02:00
Timo Kreuzer
2e1478ba93 [ACPI_APITEST] Mark test that fail on Windows as todo
The tests fail, because this is more of a unit test, than an apitest. It's questionable, whether running it on Windows is even useful.
The tests will be marked as todo on Windows, but not on ReactOS.
2025-12-10 09:48:21 +02:00
Timo Kreuzer
6539397315 [WIN32U_APITEST] Rename test to win32u_apitest for naming consistency 2025-12-09 18:21:46 +02:00
Timo Kreuzer
cba420df3b [WIN32U] Move windows specific test dlls into win32nt folder 2025-12-09 18:21:46 +02:00
Timo Kreuzer
13a982966f [WIN32U] Move reactos win32u.dll from rostests to win32ss 2025-12-09 18:21:46 +02:00
Doug Lyons
0ec4dc20a7 [GDI32_WINETEST][FONTS] Disable tests for raster fonts. (#8492)
If running on REACTOS, then skip raster (bitmap) font tests in gdi32_winetests.
2025-12-05 08:48:31 -06:00
Timo Kreuzer
3c0aa7ff75 [CABINET_WINETEST] Sync to wine-10.0 2025-12-05 15:36:39 +02:00
Timo Kreuzer
d260c1d2a7 [APPHELP_APITEST] Fix broken test case
ROSTESTS-408
2025-12-04 10:08:14 +02:00
Timo Kreuzer
a6f38d1f43 [APPHELP_APITEST] Get rid of __ROS_LONG64__ 2025-12-04 10:08:14 +02:00
Timo Kreuzer
f5d44e1081 [REACTOS] Remove unneeded __ROS_LONG64__ 2025-12-01 22:10:06 +02:00
Timo Kreuzer
72b060f8e6 [MSXML3_WINETEST] Workarounds to prevent reactos crashes
Most of these will go away, once msxml3 is synced.
2025-12-01 08:41:57 +02:00
Timo Kreuzer
4999df33bf [MSXML3_WINETEST] Sync to wine-10.0 2025-12-01 08:41:57 +02:00
Carl J. Bialorucki
b1644362af [INCLUDE/WINE] GetNTVersion() and other changes for kernel32 winetest sync
- [INCLUDE/WINE] Add GetNTVersion() macro, useful for determining Windows versions in Wine tests we need to bring up for older Windows versions.
- [INCLUDE/WINE] Header changes needed for kernel32 winetest
- [WINETESTS] Perform any fixes needed from breaking header changes
2025-11-21 10:17:20 -06:00
Mohammed al-Ramadany
ef03e090a6 [KMTESTS] ExResource fixes (#8341)
- Check Windows version at runtime for select tests
- Check ActiveEntries too on NT6+
2025-11-17 14:27:00 -06:00