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

Alexandre Julliard julliard at winehq.org
Wed Feb 25 09:22:49 CST 2009


Module: wine
Branch: master
Commit: 2017cf27f3ffab8f226e6fee96d85b333a39f791
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2017cf27f3ffab8f226e6fee96d85b333a39f791

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Feb 25 10:30:37 2009 +0100

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

---

 dlls/wintrust/tests/asn.c      |   16 ++++++++--------
 dlls/wintrust/tests/register.c |    8 ++++----
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dlls/wintrust/tests/asn.c b/dlls/wintrust/tests/asn.c
index d50d249..308fb8b 100644
--- a/dlls/wintrust/tests/asn.c
+++ b/dlls/wintrust/tests/asn.c
@@ -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;
     }
 
diff --git a/dlls/wintrust/tests/register.c b/dlls/wintrust/tests/register.c
index 8a6675c..dd266bd 100644
--- a/dlls/wintrust/tests/register.c
+++ b/dlls/wintrust/tests/register.c
@@ -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;
     }
 




More information about the wine-cvs mailing list