Author: gadamopoulos
Date: Thu Sep 8 11:31:31 2011
New Revision: 53640
URL:
http://svn.reactos.org/svn/reactos?rev=53640&view=rev
Log:
[user32_apitest]
- Add more tests for SetActiveWindow
Modified:
trunk/rostests/apitests/user32/SetActiveWindow.c
Modified: trunk/rostests/apitests/user32/SetActiveWindow.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/SetActive…
==============================================================================
--- trunk/rostests/apitests/user32/SetActiveWindow.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/SetActiveWindow.c [iso-8859-1] Thu Sep 8 11:31:31
2011
@@ -84,6 +84,14 @@
EXPECT_NEXT(hWnd4,hWnd1);
EXPECT_NEXT(hWnd1,hWnd3);
EXPECT_ACTIVE(hWnd2);
+
+ SetActiveWindow(hWnd1);
+ while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessageA( &msg );
+
+ EXPECT_NEXT(hWnd2,hWnd4);
+ EXPECT_NEXT(hWnd4,hWnd1);
+ EXPECT_NEXT(hWnd1,hWnd3);
+ EXPECT_ACTIVE(hWnd1);
}
START_TEST(SetActiveWindow)