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 [SHELL32_APITEST] Add test for SHCreateFileExtractIconW 2017-12-09 11:56:42 +01:00
AddCommas.cpp [SHELL32_APITEST] Improve the existing PCH and make use of it. Convert AddCommas.c to c++ in order to have it benefit from the PCH. 2017-12-17 13:31:22 +01:00
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 [SHELL32_APITEST] Fix PIDL leaks. 2019-09-22 11:42:10 +02:00
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 [APITESTS] Improve and fix tests 2019-12-21 12:44:48 +01:00
menu.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
OpenAs_RunDLL.cpp [APITESTS] Improve and fix tests 2019-12-21 12:44:48 +01:00
PathResolve.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
resource.rc [INCLUDE][SHELL32_APITEST] Add SHLimitInputEdit testcase (#2053) 2019-11-18 20:02:18 +09:00
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 [HEADERS] Move some helpers from undocshell.h to shellutils.h as they didn't cover anything undocumented. Merge traycmd.h in undocshell.h as both contain just undocumented shell definitions. 2019-08-25 12:20:52 +03:00
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 [SHELL32_APITEST] Improve the existing PCH and make use of it. Convert AddCommas.c to c++ in order to have it benefit from the PCH. 2017-12-17 13:31:22 +01:00
shelltest.h [SHELL32_APITEST] Disable exceptions in atl when compiling without exceptions 2019-04-18 19:21:39 +02:00
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