comctl32/tests: Add test for horizontal spacing to test_hittest.
Gerald Pfeifer
gerald at pfeifer.com
Sat Jan 1 07:42:54 CST 2011
This mimicks the test we already have in place for the vertical case.
Gerald
---
dlls/comctl32/tests/listview.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 89619f7..9d64ea6 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -3033,6 +3033,8 @@ static void test_hittest(void)
r = SendMessage(hwnd, LVM_GETITEMSPACING, TRUE, 0);
horiz = LOWORD(r);
vert = HIWORD(r);
+ ok(bounds.right - bounds.left == horiz,
+ "Horizontal spacing inconsistent (%d != %d)\n", bounds.right - bounds.left, horiz);
ok(bounds.bottom - bounds.top == vert,
"Vertical spacing inconsistent (%d != %d)\n", bounds.bottom - bounds.top, vert);
r = SendMessage(hwnd, LVM_GETITEMPOSITION, 0, (LPARAM)&pos);
--
1.7.2.2
More information about the wine-patches
mailing list