[SHELL32_APITEST] Make SHChangeNotify testcase more stable (#6796)

Make the testcase more stable and faster. Reduce code.
JIRA issue: CORE-13950
- Use WM_COPYDATA message to communicate with shell32_apitest_sub.exe.
- Use concept of "stage" and "step".
- Do multiple checks in one step.
- Flush notification by using (SHCNF_FLUSH | SHCNF_FLUSHNOWAIT) flags.
This commit is contained in:
Katayama Hirofumi MZ 2024-04-24 09:10:29 +09:00 committed by GitHub
parent 6ac260dcec
commit 25e2f5f277
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 764 additions and 1115 deletions

View file

@ -747,6 +747,6 @@ START_TEST(ShellExecCmdLine)
ok(DeleteFileA("Test File 2.bat"), "failed to delete the test file\n");
free(s_wi0.phwnd);
DoWaitForWindow(CLASSNAME, CLASSNAME, TRUE, TRUE);
DoWaitForWindow(SUB_CLASSNAME, SUB_CLASSNAME, TRUE, TRUE);
Sleep(100);
}