Commit 2017cf27 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 5e79fd75
......@@ -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;
}
......
......@@ -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;
}
......
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