reactos/modules/rostests/apitests/shell32
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
..
1.ico
AddCommas.cpp
CFSFolder.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
CheckEscapes.cpp [SHELL32][INCLUDE] Improve CheckEscapesA/W (#2795) 2020-05-28 10:58:26 +09:00
CIDLData.cpp [SDK] Move HIDA helper functions to shellutils.h 2020-02-08 22:09:13 +01:00
CMakeLists.txt [SHELL32][SHELL32_APITEST] Implement SHCreateFileDataObject 2021-12-31 21:27:30 +01:00
CMyComputer.cpp
Control_RunDLLW.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
CShellDesktop.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
CShellLink.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
CUserNotification.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
DragDrop.cpp [WININET_WINETEST][URLMON_WINETEST][SHELL32_APITEST] Skip some tests 2020-06-08 03:43:43 +03:00
ExtractIconEx.cpp Replace my E-mail with the ReactOS org one (#3475) 2021-02-22 18:26:55 +03:00
FindExecutable.cpp [SHELL32_APITEST] Try to fix Test Win2003_x64 again 2022-02-13 17:45:08 +09:00
IShellFolderViewCB.cpp
menu.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
OpenAs_RunDLL.cpp
PathResolve.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
resource.rc
SHAppBarMessage.cpp [SHELL32_APITEST] Strengthen SHAppBarMessage testcase for workarea (#3041) 2020-08-13 20:59:36 +09:00
SHChangeNotify.cpp [SHELL32_APITEST] Try to fix Test Win2003_x64 again 2022-02-13 17:45:08 +09:00
SHCreateDataObject.cpp [SHELL32][SHELL32_APITEST] Implement SHCreateFileDataObject 2021-12-31 21:27:30 +01:00
SHCreateFileDataObject.cpp [SHELL32][SHELL32_APITEST] Implement SHCreateFileDataObject 2021-12-31 21:27:30 +01:00
SHCreateFileExtractIconW.cpp
shell32_apitest.spec
shell32_apitest_sub.cpp [SHELL32_APITEST] Try to fix Test Win2003_x64 again 2022-02-13 17:45:08 +09:00
shell32_apitest_sub.h [SHELL32_APITEST] Try to fix Test Win2003_x64 again 2022-02-13 17:45:08 +09:00
ShellExecCmdLine.cpp [SHELL32_APITEST] ShellExecCmdLine: Do **NOT** use TerminateProcess to close the opened windows. 2022-05-06 21:32:08 +02:00
ShellExecuteEx.cpp [SHELL32_APITEST] ShellExecuteEx: Introduce a CleanupNewlyCreatedWindows() helper similar to the one of the ShellExecCmdLine test. 2022-05-06 21:32:01 +02:00
ShellExecuteW.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
ShellHook.cpp [SHELL32_APITEST] Strengthen ShellHook testcase for fullscreen (#4051) 2021-10-24 09:19:23 +09:00
ShellState.cpp [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
shelltest.cpp
shelltest.h
SHGetAttributesFromDataObject.cpp [SHELL32][SHELL32_APITEST] Add SHGetAttributesFromDataObject 2021-11-15 20:02:13 +01:00
SHLimitInputEdit.cpp [SHELL32_APITEST] SHLimitInputEdit: Fix C4509 warning (#2321) 2020-02-09 23:49:44 +09:00
SHParseDisplayName.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
testlist.c [SHELL32][SHELL32_APITEST] Implement SHCreateFileDataObject 2021-12-31 21:27:30 +01:00