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

This commit is contained in:
Francois Gouget 2009-02-25 10:30:37 +01:00 committed by Alexandre Julliard
parent 5e79fd7534
commit 2017cf27f3
2 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ static void test_encodeSPCFinancialCriteria(void)
if (!pCryptEncodeObjectEx)
{
skip("CryptEncodeObjectEx() is not available. Skipping the encodeFinancialCriteria tests\n");
win_skip("CryptEncodeObjectEx() is not available. Skipping the encodeFinancialCriteria tests\n");
return;
}
ret = pCryptEncodeObjectEx(X509_ASN_ENCODING, SPC_FINANCIAL_CRITERIA_STRUCT,
@ -73,7 +73,7 @@ static void test_decodeSPCFinancialCriteria(void)
if (!pCryptDecodeObjectEx)
{
skip("CryptDecodeObjectEx() is not available. Skipping the decodeSPCFinancialCriteria tests\n");
win_skip("CryptDecodeObjectEx() is not available. Skipping the decodeSPCFinancialCriteria tests\n");
return;
}
@ -123,7 +123,7 @@ static void test_encodeSPCLink(void)
if (!pCryptEncodeObjectEx)
{
skip("CryptEncodeObjectEx() is not available. Skipping the encodeSPCLink tests\n");
win_skip("CryptEncodeObjectEx() is not available. Skipping the encodeSPCLink tests\n");
return;
}
@ -215,7 +215,7 @@ static void test_decodeSPCLink(void)
if (!pCryptDecodeObjectEx)
{
skip("CryptDecodeObjectEx() is not available. Skipping the decodeSPCLink tests\n");
win_skip("CryptDecodeObjectEx() is not available. Skipping the decodeSPCLink tests\n");
return;
}
@ -325,7 +325,7 @@ static void test_encodeSPCPEImage(void)
if (!pCryptEncodeObjectEx)
{
skip("CryptEncodeObjectEx() is not available. Skipping the encodeSPCPEImage tests\n");
win_skip("CryptEncodeObjectEx() is not available. Skipping the encodeSPCPEImage tests\n");
return;
}
@ -430,7 +430,7 @@ static void test_decodeSPCPEImage(void)
if (!pCryptDecodeObjectEx)
{
skip("CryptDecodeObjectEx() is not available. Skipping the decodeSPCPEImage tests\n");
win_skip("CryptDecodeObjectEx() is not available. Skipping the decodeSPCPEImage tests\n");
return;
}
@ -556,7 +556,7 @@ static void test_encodeCatMemberInfo(void)
if (!pCryptEncodeObjectEx)
{
skip("CryptEncodeObjectEx() is not available. Skipping the encodeCatMemberInfo tests\n");
win_skip("CryptEncodeObjectEx() is not available. Skipping the encodeCatMemberInfo tests\n");
return;
}
@ -605,7 +605,7 @@ static void test_decodeCatMemberInfo(void)
if (!pCryptDecodeObjectEx)
{
skip("CryptDecodeObjectEx() is not available. Skipping the decodeCatMemberInfo tests\n");
win_skip("CryptDecodeObjectEx() is not available. Skipping the decodeCatMemberInfo tests\n");
return;
}

View File

@ -66,7 +66,7 @@ static void test_AddRem_ActionID(void)
if (!pWintrustAddActionID || !pWintrustRemoveActionID)
{
skip("WintrustAddActionID and/or WintrustRemoveActionID are not available\n");
win_skip("WintrustAddActionID and/or WintrustRemoveActionID are not available\n");
return;
}
@ -176,7 +176,7 @@ static void test_AddDefaultForUsage(void)
if (!pWintrustAddDefaultForUsage)
{
skip("WintrustAddDefaultForUsage is not available\n");
win_skip("WintrustAddDefaultForUsage is not available\n");
return;
}
@ -229,7 +229,7 @@ static void test_LoadFunctionPointers(void)
if (!pWintrustLoadFunctionPointers)
{
skip("WintrustLoadFunctionPointers is not available\n");
win_skip("WintrustLoadFunctionPointers is not available\n");
return;
}
SetLastError(0xdeadbeef);
@ -278,7 +278,7 @@ static void test_RegPolicyFlags(void)
if (!pWintrustGetRegPolicyFlags || !pWintrustSetRegPolicyFlags)
{
skip("Policy flags functions not present\n");
win_skip("Policy flags functions not present\n");
return;
}