shell32/tests: Use win_skip() to skip over unimplemented functionality.

This commit is contained in:
Francois Gouget 2009-02-25 10:28:30 +01:00 committed by Alexandre Julliard
parent d5b324e362
commit 80b8a0b58e
3 changed files with 5 additions and 5 deletions

View File

@ -372,7 +372,7 @@ static void test_appbarget(void)
if (!pMonitorFromWindow) if (!pMonitorFromWindow)
{ {
skip("MonitorFromWindow is not available\n"); win_skip("MonitorFromWindow is not available\n");
} }
else else
{ {

View File

@ -512,7 +512,7 @@ static void test_load_save(void)
if (!pGetLongPathNameA) if (!pGetLongPathNameA)
{ {
skip("GetLongPathNameA is not available\n"); win_skip("GetLongPathNameA is not available\n");
return; return;
} }
@ -655,7 +655,7 @@ static void test_datalink(void)
"CoCreateInstance failed (0x%08x)\n", r); "CoCreateInstance failed (0x%08x)\n", r);
if (!sl) if (!sl)
{ {
skip("no shelllink\n"); win_skip("no shelllink\n");
return; return;
} }
@ -666,7 +666,7 @@ static void test_datalink(void)
if (!dl) if (!dl)
{ {
skip("no datalink interface\n"); win_skip("no datalink interface\n");
IShellLinkW_Release( sl ); IShellLinkW_Release( sl );
return; return;
} }

View File

@ -864,7 +864,7 @@ START_TEST(shellpath)
{ {
/* Report missing functions once */ /* Report missing functions once */
if (!pSHGetFolderLocation) if (!pSHGetFolderLocation)
skip("SHGetFolderLocation is not available\n"); win_skip("SHGetFolderLocation is not available\n");
/* first test various combinations of parameters: */ /* first test various combinations of parameters: */
testApiParameters(); testApiParameters();