Commit fbcec1ca authored by Nicolas Le Cam's avatar Nicolas Le Cam Committed by Alexandre Julliard

shell32/tests: Skip FolderShortcut test on Win2k.

Skip this test as it doesn't work on Win2k. CoCreateInstance is successful but IPersistPropertyBag_Load call fails.
parent 1d3edf63
...@@ -1196,7 +1196,13 @@ static void test_FolderShortcut(void) { ...@@ -1196,7 +1196,13 @@ static void test_FolderShortcut(void) {
win_skip("SHGetSpecialFolderPathW and/or StrRetToBufW are not available\n"); win_skip("SHGetSpecialFolderPathW and/or StrRetToBufW are not available\n");
return; return;
} }
if (!pSHGetFolderPathAndSubDirA)
{
win_skip("FolderShortcut test doesn't work on Win2k\n");
return;
}
/* These tests basically show, that CLSID_FolderShortcuts are initialized /* These tests basically show, that CLSID_FolderShortcuts are initialized
* via their IPersistPropertyBag interface. And that the target folder * via their IPersistPropertyBag interface. And that the target folder
* is taken from the IPropertyBag's 'Target' property. * is taken from the IPropertyBag's 'Target' property.
...@@ -1216,7 +1222,7 @@ static void test_FolderShortcut(void) { ...@@ -1216,7 +1222,7 @@ static void test_FolderShortcut(void) {
IPersistPropertyBag_Release(pPersistPropertyBag); IPersistPropertyBag_Release(pPersistPropertyBag);
return; return;
} }
hr = IPersistPropertyBag_QueryInterface(pPersistPropertyBag, &IID_IShellFolder, hr = IPersistPropertyBag_QueryInterface(pPersistPropertyBag, &IID_IShellFolder,
(LPVOID*)&pShellFolder); (LPVOID*)&pShellFolder);
IPersistPropertyBag_Release(pPersistPropertyBag); IPersistPropertyBag_Release(pPersistPropertyBag);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment