oleaut32/tests: Use win_skip() to skip over unimplemented functionality.
This commit is contained in:
parent
bf855d8696
commit
3b072fb772
|
@ -808,7 +808,7 @@ START_TEST(olefont)
|
|||
pOleCreateFontIndirect = (void*)GetProcAddress(hOleaut32, "OleCreateFontIndirect");
|
||||
if (!pOleCreateFontIndirect)
|
||||
{
|
||||
skip("OleCreateFontIndirect not available\n");
|
||||
win_skip("OleCreateFontIndirect not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -477,7 +477,7 @@ static void test_OleCreatePictureIndirect(void)
|
|||
|
||||
if(!pOleCreatePictureIndirect)
|
||||
{
|
||||
skip("Skipping OleCreatePictureIndirect tests\n");
|
||||
win_skip("Skipping OleCreatePictureIndirect tests\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -707,7 +707,7 @@ START_TEST(olepicture)
|
|||
pOleCreatePictureIndirect = (void*)GetProcAddress(hOleaut32, "OleCreatePictureIndirect");
|
||||
if (!pOleLoadPicture)
|
||||
{
|
||||
skip("OleLoadPicture is not available\n");
|
||||
win_skip("OleLoadPicture is not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -449,7 +449,7 @@ static void test_VarWeekdayName(void)
|
|||
GetLocaleInfoW(LOCALE_USER_DEFAULT, 0, NULL, 0);
|
||||
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
|
||||
{
|
||||
skip("GetLocaleInfoW is not implemented\n");
|
||||
win_skip("GetLocaleInfoW is not implemented\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ static HMODULE hOleaut32;
|
|||
/* Get a conversion function ptr, return if function not available */
|
||||
#define CHECKPTR(func) p##func = (void*)GetProcAddress(hOleaut32, #func); \
|
||||
if (!p##func) { \
|
||||
skip("function " # func " not available, not testing it\n"); return; }
|
||||
win_skip("function " # func " not available, not testing it\n"); return; }
|
||||
|
||||
/* Is a given function exported from oleaut32? */
|
||||
#define HAVE_FUNC(func) ((void*)GetProcAddress(hOleaut32, #func) != NULL)
|
||||
|
@ -2349,7 +2349,7 @@ static void test_VarI8Copy(void)
|
|||
|
||||
if (!HAVE_OLEAUT32_I8)
|
||||
{
|
||||
skip("I8 and UI8 data types are not available\n");
|
||||
win_skip("I8 and UI8 data types are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2379,7 +2379,7 @@ static void test_VarI8ChangeTypeEx(void)
|
|||
|
||||
if (!HAVE_OLEAUT32_I8)
|
||||
{
|
||||
skip("I8 and UI8 data types are not available\n");
|
||||
win_skip("I8 and UI8 data types are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2611,7 +2611,7 @@ static void test_VarUI8Copy(void)
|
|||
|
||||
if (!HAVE_OLEAUT32_I8)
|
||||
{
|
||||
skip("I8 and UI8 data types are not available\n");
|
||||
win_skip("I8 and UI8 data types are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2641,7 +2641,7 @@ static void test_VarUI8ChangeTypeEx(void)
|
|||
|
||||
if (!HAVE_OLEAUT32_I8)
|
||||
{
|
||||
skip("I8 and UI8 data types are not available\n");
|
||||
win_skip("I8 and UI8 data types are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue