reactos/modules/rostests/apitests
Hermès Bélusca-Maïto 4bf32102ab
[SHELL32_APITEST] ShellExecCmdLine: Do **NOT** use TerminateProcess to close the opened windows.
This design, introduced in 418edcd2b, is fundamentally flawed as it
can also close windows unrelated to the running test (e.g. windows
of programs that the user can start, while the test is running).

But since we cannot do much better, mitigate instead the other main
problem of this design: Just use PostMessageW(WM_CLOSE), as it used
to be, instead of TerminateProcess().

Indeed, using TerminateProcess() otherwise could kill unrelated
processes the test hasn't created. In particular it could kill the
csrss.exe system process if, during the testing procedure, a hard-error
popup shows up.
And this is precisely the case when this test runs with limited memory,
and a hard-error
  "Insufficient system resources exist to complete the requested service."
arises.
2022-05-06 21:32:08 +02:00
..
acpi [ACPI_APITEST] Add a unit test for Bus_PDO_QueryResourceRequirements. CORE-12892 2020-04-11 23:42:59 +02:00
advapi32 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
afd [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
apphelp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
appshim [APPCOMPAT][ACCPAGE][SDB][ROSTESTS] Implement compatibility modes for Windows 10, Server 2016 and 2019 2020-02-23 17:43:40 +01:00
atl [ATL][ATL_APITEST] Add test for CPath +small fixes 2021-10-30 22:47:57 +02:00
browseui [BROWSEUI_APITEST] Addendum to 7e22dc05. 2022-05-03 17:29:39 +02:00
cmd [CMD_APITEST] Follow-up of #3632 (0c2230a) 2021-04-30 10:48:33 +09:00
com [COM_APITEST] Add mmc/certmgr tests 2021-09-05 16:39:57 +02:00
comctl32 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
compiler [COMPILER_APITEST] Convert global variables to static ones 2022-04-26 03:38:36 +03:00
crt [CRT_APITEST] wctomb.c Fix '\n.' typos CORE-18103 2022-03-25 18:42:07 +01:00
dbghelp [DBGHELP_APITEST][SDK_APITEST] Fix initializing global variables 2022-04-26 03:38:37 +03:00
dciman32 Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
dnsapi [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
fltlib Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
fontext [FONTEXT_APITEST] Test more cases for GetDisplayNameOf 2021-05-08 15:53:43 +02:00
gdi32 [GDI32_APITEST] Add CursorIcon tests to GetObject test (#3955) 2022-04-29 16:45:02 +03:00
gditools Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
imm32 [IMM32_APITEST] himc: Show class on CreateWindow failure (#4466) 2022-04-23 07:18:38 +09:00
include [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
iphlpapi [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
kernel32 [KERNEL32_APITESTS] Add a test showing thread locale/LangID sync with console (#4301) 2022-02-08 15:58:00 +01:00
loadconfig [APITESTS][NTVDM][SPOOLSV] Add the missing ENABLE_EXPORTS property as these EXE targets have function exports. 2021-12-04 01:17:32 +01:00
localspl [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
mountmgr [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
msgina [CMAKE] Introduce the atl_classes interface library 2020-10-20 21:44:54 +02:00
mspatcha [ROSTESTS] fix x64 build and fix/disable warnings 2020-01-26 11:50:37 +01:00
msvcrt [ROSTESTS] fix x64 build and fix/disable warnings 2020-01-26 11:50:37 +01:00
netapi32 [NETAPI32_APITEST] Fix a NULL dereference of pInfo 2018-06-17 12:16:08 +02:00
netshell Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ntdll [APITESTS][NTVDM][SPOOLSV] Add the missing ENABLE_EXPORTS property as these EXE targets have function exports. 2021-12-04 01:17:32 +01:00
ole32 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
opengl32 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
pefile Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
powrprof [POWRPROF_APITEST] Fix cppcheck warnings. 2020-06-27 14:43:08 +02:00
psapi [ROSTESTS] fix x64 build and fix/disable warnings 2020-01-26 11:50:37 +01:00
sdk [DBGHELP_APITEST][SDK_APITEST] Fix initializing global variables 2022-04-26 03:38:37 +03:00
setupapi [REACTOS] Fix some instances of DPRINTs with trailing whitespace before newlines. 2021-09-13 03:52:19 +02:00
sfc [SFC_APITEST] Initial test for SfcIsFileProtected and SfcGetFiles 2018-12-12 19:33:44 +01:00
shell32 [SHELL32_APITEST] ShellExecCmdLine: Do **NOT** use TerminateProcess to close the opened windows. 2022-05-06 21:32:08 +02:00
shlwapi [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
spoolss [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
user32 [USER32_APITEST] Convert global variables to static ones 2022-04-26 03:38:29 +03:00
user32_dynamic [USER32_DYNAMIC_APITEST] Remove a tautological check. Spotted by clang. 2020-11-22 13:22:03 +01:00
userenv Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
utildll [CMD][SERVMAN][SHELL32][WINSPOOL][ROSAPPS][NTOS:PNP] Fix my build. 2020-11-06 01:06:11 +01:00
uxtheme [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
win32nt [WIN32KNT_APITEST] Strengthen NtUserGetThreadState testcase (#4291) 2022-01-17 16:01:31 +09:00
win32u [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
winhttp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
wininet [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
winprint [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
winspool [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
wlanapi [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
ws2_32 [WS2_32_APITEST] Convert global variables to static ones 2022-04-26 03:38:37 +03:00
zipfldr [CMAKE] Introduce the atl_classes interface library 2020-10-20 21:44:54 +02:00
CMakeLists.txt [IMM32_APITEST] Add imm32_apitest test program (#3810) 2021-07-10 00:05:43 +09:00