Nikolay Sivov : comctl32/listview: Skip icon spacing tests when unsupported .
Alexandre Julliard
julliard at winehq.org
Thu Sep 24 10:55:14 CDT 2009
Module: wine
Branch: master
Commit: d7117d312db7fbb68f2b193a478d3bdc44555445
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7117d312db7fbb68f2b193a478d3bdc44555445
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Thu Sep 24 00:15:51 2009 +0400
comctl32/listview: Skip icon spacing tests when unsupported.
---
dlls/comctl32/tests/listview.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 554c94c..31b09a3 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -3,6 +3,7 @@
*
* Copyright 2006 Mike McCormack for CodeWeavers
* Copyright 2007 George Gov
+ * Copyright 2009 Nikolay Sivov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -1606,6 +1607,13 @@ static void test_icon_spacing(void)
"Expected %d, got %d\n", MAKELONG(w, h), r);
r = SendMessage(hwnd, LVM_SETICONSPACING, 0, MAKELPARAM(25, 35));
+ if (r == 0)
+ {
+ /* version 4.0 */
+ win_skip("LVM_SETICONSPACING unimplemented. Skipping.\n");
+ DestroyWindow(hwnd);
+ return;
+ }
expect(MAKELONG(20,30), r);
r = SendMessage(hwnd, LVM_SETICONSPACING, 0, MAKELPARAM(-1,-1));
More information about the wine-cvs
mailing list