Rebase against e482605548b124a7863f6b09395b3a850ae741cc.

This commit is contained in:
Alistair Leslie-Hughes
2021-09-22 08:28:32 +10:00
parent a1db1dfc16
commit 640f5f7d0a
6 changed files with 10 additions and 134 deletions

View File

@@ -1,4 +1,4 @@
From 0ff072aa67bc20ee219f5187d36d1ff132a96a6c Mon Sep 17 00:00:00 2001
From ae16397afc8e15401c7274308e31c69aa6e8b619 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gabriel=20Iv=C4=83ncescu?= <gabrielopcode@gmail.com>
Date: Mon, 22 Jul 2019 15:29:26 +0300
Subject: [PATCH] user32/tests: Test a recursive activation loop on WM_ACTIVATE
@@ -15,7 +15,7 @@ Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
1 file changed, 81 insertions(+)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 504a276c32f..0a0ee2da6e4 100644
index 36199f055ac..877cdfbcc9c 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -5114,6 +5114,39 @@ static void test_showwindow(void)
@@ -58,7 +58,7 @@ index 504a276c32f..0a0ee2da6e4 100644
static void test_sys_menu(void)
{
HWND hwnd;
@@ -10109,6 +10142,48 @@ static LRESULT WINAPI ShowWindowProcA(HWND hwnd, UINT message, WPARAM wParam, LP
@@ -10131,6 +10164,48 @@ static LRESULT WINAPI ShowWindowProcA(HWND hwnd, UINT message, WPARAM wParam, LP
return ret;
}
@@ -107,7 +107,7 @@ index 504a276c32f..0a0ee2da6e4 100644
static LRESULT WINAPI PaintLoopProcA(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
@@ -10206,6 +10281,10 @@ static BOOL RegisterWindowClasses(void)
@@ -10228,6 +10303,10 @@ static BOOL RegisterWindowClasses(void)
cls.lpszClassName = "ShowWindowClass";
if(!RegisterClassA(&cls)) return FALSE;
@@ -118,7 +118,7 @@ index 504a276c32f..0a0ee2da6e4 100644
cls.lpfnWndProc = PopupMsgCheckProcA;
cls.lpszClassName = "TestPopupClass";
if(!RegisterClassA(&cls)) return FALSE;
@@ -10261,6 +10340,7 @@ static BOOL is_our_logged_class(HWND hwnd)
@@ -10283,6 +10362,7 @@ static BOOL is_our_logged_class(HWND hwnd)
{
if (!lstrcmpiA(buf, "TestWindowClass") ||
!lstrcmpiA(buf, "ShowWindowClass") ||
@@ -126,14 +126,14 @@ index 504a276c32f..0a0ee2da6e4 100644
!lstrcmpiA(buf, "TestParentClass") ||
!lstrcmpiA(buf, "TestPopupClass") ||
!lstrcmpiA(buf, "SimpleWindowClass") ||
@@ -18499,6 +18579,7 @@ START_TEST(msg)
@@ -18521,6 +18601,7 @@ START_TEST(msg)
test_messages();
test_setwindowpos();
test_showwindow();
+ test_recursive_activation();
invisible_parent_tests();
test_mdi_messages();
test_button_messages();
--
2.33.0