Paul Vriens : shell32/tests: Skip some tests on Win9x and WinMe.
Alexandre Julliard
julliard at winehq.org
Fri Nov 28 07:16:37 CST 2008
Module: wine
Branch: master
Commit: 78a90f1f3163f03ac24bc0bbba275b31f2e346c3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=78a90f1f3163f03ac24bc0bbba275b31f2e346c3
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Nov 28 11:40:19 2008 +0100
shell32/tests: Skip some tests on Win9x and WinMe.
---
dlls/shell32/tests/shlfileop.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 85a58a4..efe6507 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -309,6 +309,11 @@ static void test_get_file_info_iconlist(void)
hSysImageList = (HIMAGELIST) pSHGetFileInfoW((const WCHAR *)pidList, 0,
&shInfow, sizeof(shInfow),
SHGFI_SYSICONINDEX | SHGFI_SMALLICON | SHGFI_PIDL);
+ if (!hSysImageList)
+ {
+ win_skip("SHGetFileInfoW is not implemented\n");
+ return;
+ }
ok(hSysImageList != INVALID_HANDLE_VALUE, "Can't get handle for CSIDL_DESKTOP imagelist\n");
todo_wine ok(shInfow.hIcon == 0, "SHGetFileInfoW(CSIDL_DESKTOP, SHGFI_SYSICONINDEX|SHGFI_SMALLICON|SHGFI_PIDL) did not clear hIcon\n");
ok(shInfow.szTypeName[0] == 0, "SHGetFileInfoW(CSIDL_DESKTOP, SHGFI_SYSICONINDEX|SHGFI_SMALLICON|SHGFI_PIDL) did not clear szTypeName[0]\n");
More information about the wine-cvs
mailing list