Paul Vriens : shell32/tests: Skip some tests on Win9x and WinMe.
Module: wine Branch: master Commit: 78a90f1f3163f03ac24bc0bbba275b31f2e346c3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=78a90f1f3163f03ac24bc0bbba... Author: Paul Vriens <Paul.Vriens.Wine(a)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");
participants (1)
-
Alexandre Julliard