user32: add test for drop down width in test_changesize()

Austin English austinenglish at gmail.com
Sat May 22 02:25:13 CDT 2010


Passes WTB:
https://testbot.winehq.org/JobDetails.pl?Key=2244

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/user32/tests/combo.c b/dlls/user32/tests/combo.c
index faf2145..b7fa63f 100644
--- a/dlls/user32/tests/combo.c
+++ b/dlls/user32/tests/combo.c
@@ -384,6 +384,8 @@ static void test_changesize( DWORD style)
             rc.right - rc.left, clwidth - 2);
     ok( rc.bottom - rc.top == ddheight, "drop-down rect height is %d vs %d\n",
             rc.bottom - rc.top, ddheight);
+    ok( rc.right - rc.left == ddwidth -2, "drop-down rect width is %d vs %d\n",
+            rc.right - rc.left, ddwidth - 2);
     /* new cx, cy is slightly bigger than the initial values */
     MoveWindow( hCombo, 10, 10, clwidth + 2, clheight + 2, TRUE);
     GetClientRect( hCombo, &rc);


More information about the wine-patches mailing list