Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2017cf27
Commit
2017cf27
authored
Feb 25, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Use win_skip() to skip over unimplemented functionality.
parent
5e79fd75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
asn.c
dlls/wintrust/tests/asn.c
+8
-8
register.c
dlls/wintrust/tests/register.c
+4
-4
No files found.
dlls/wintrust/tests/asn.c
View file @
2017cf27
...
@@ -41,7 +41,7 @@ static void test_encodeSPCFinancialCriteria(void)
...
@@ -41,7 +41,7 @@ static void test_encodeSPCFinancialCriteria(void)
if
(
!
pCryptEncodeObjectEx
)
if
(
!
pCryptEncodeObjectEx
)
{
{
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeFinancialCriteria tests
\n
"
);
win_
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeFinancialCriteria tests
\n
"
);
return
;
return
;
}
}
ret
=
pCryptEncodeObjectEx
(
X509_ASN_ENCODING
,
SPC_FINANCIAL_CRITERIA_STRUCT
,
ret
=
pCryptEncodeObjectEx
(
X509_ASN_ENCODING
,
SPC_FINANCIAL_CRITERIA_STRUCT
,
...
@@ -73,7 +73,7 @@ static void test_decodeSPCFinancialCriteria(void)
...
@@ -73,7 +73,7 @@ static void test_decodeSPCFinancialCriteria(void)
if
(
!
pCryptDecodeObjectEx
)
if
(
!
pCryptDecodeObjectEx
)
{
{
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeSPCFinancialCriteria tests
\n
"
);
win_
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeSPCFinancialCriteria tests
\n
"
);
return
;
return
;
}
}
...
@@ -123,7 +123,7 @@ static void test_encodeSPCLink(void)
...
@@ -123,7 +123,7 @@ static void test_encodeSPCLink(void)
if
(
!
pCryptEncodeObjectEx
)
if
(
!
pCryptEncodeObjectEx
)
{
{
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeSPCLink tests
\n
"
);
win_
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeSPCLink tests
\n
"
);
return
;
return
;
}
}
...
@@ -215,7 +215,7 @@ static void test_decodeSPCLink(void)
...
@@ -215,7 +215,7 @@ static void test_decodeSPCLink(void)
if
(
!
pCryptDecodeObjectEx
)
if
(
!
pCryptDecodeObjectEx
)
{
{
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeSPCLink tests
\n
"
);
win_
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeSPCLink tests
\n
"
);
return
;
return
;
}
}
...
@@ -325,7 +325,7 @@ static void test_encodeSPCPEImage(void)
...
@@ -325,7 +325,7 @@ static void test_encodeSPCPEImage(void)
if
(
!
pCryptEncodeObjectEx
)
if
(
!
pCryptEncodeObjectEx
)
{
{
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeSPCPEImage tests
\n
"
);
win_
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeSPCPEImage tests
\n
"
);
return
;
return
;
}
}
...
@@ -430,7 +430,7 @@ static void test_decodeSPCPEImage(void)
...
@@ -430,7 +430,7 @@ static void test_decodeSPCPEImage(void)
if
(
!
pCryptDecodeObjectEx
)
if
(
!
pCryptDecodeObjectEx
)
{
{
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeSPCPEImage tests
\n
"
);
win_
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeSPCPEImage tests
\n
"
);
return
;
return
;
}
}
...
@@ -556,7 +556,7 @@ static void test_encodeCatMemberInfo(void)
...
@@ -556,7 +556,7 @@ static void test_encodeCatMemberInfo(void)
if
(
!
pCryptEncodeObjectEx
)
if
(
!
pCryptEncodeObjectEx
)
{
{
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeCatMemberInfo tests
\n
"
);
win_
skip
(
"CryptEncodeObjectEx() is not available. Skipping the encodeCatMemberInfo tests
\n
"
);
return
;
return
;
}
}
...
@@ -605,7 +605,7 @@ static void test_decodeCatMemberInfo(void)
...
@@ -605,7 +605,7 @@ static void test_decodeCatMemberInfo(void)
if
(
!
pCryptDecodeObjectEx
)
if
(
!
pCryptDecodeObjectEx
)
{
{
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeCatMemberInfo tests
\n
"
);
win_
skip
(
"CryptDecodeObjectEx() is not available. Skipping the decodeCatMemberInfo tests
\n
"
);
return
;
return
;
}
}
...
...
dlls/wintrust/tests/register.c
View file @
2017cf27
...
@@ -66,7 +66,7 @@ static void test_AddRem_ActionID(void)
...
@@ -66,7 +66,7 @@ static void test_AddRem_ActionID(void)
if
(
!
pWintrustAddActionID
||
!
pWintrustRemoveActionID
)
if
(
!
pWintrustAddActionID
||
!
pWintrustRemoveActionID
)
{
{
skip
(
"WintrustAddActionID and/or WintrustRemoveActionID are not available
\n
"
);
win_
skip
(
"WintrustAddActionID and/or WintrustRemoveActionID are not available
\n
"
);
return
;
return
;
}
}
...
@@ -176,7 +176,7 @@ static void test_AddDefaultForUsage(void)
...
@@ -176,7 +176,7 @@ static void test_AddDefaultForUsage(void)
if
(
!
pWintrustAddDefaultForUsage
)
if
(
!
pWintrustAddDefaultForUsage
)
{
{
skip
(
"WintrustAddDefaultForUsage is not available
\n
"
);
win_
skip
(
"WintrustAddDefaultForUsage is not available
\n
"
);
return
;
return
;
}
}
...
@@ -229,7 +229,7 @@ static void test_LoadFunctionPointers(void)
...
@@ -229,7 +229,7 @@ static void test_LoadFunctionPointers(void)
if
(
!
pWintrustLoadFunctionPointers
)
if
(
!
pWintrustLoadFunctionPointers
)
{
{
skip
(
"WintrustLoadFunctionPointers is not available
\n
"
);
win_
skip
(
"WintrustLoadFunctionPointers is not available
\n
"
);
return
;
return
;
}
}
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
@@ -278,7 +278,7 @@ static void test_RegPolicyFlags(void)
...
@@ -278,7 +278,7 @@ static void test_RegPolicyFlags(void)
if
(
!
pWintrustGetRegPolicyFlags
||
!
pWintrustSetRegPolicyFlags
)
if
(
!
pWintrustGetRegPolicyFlags
||
!
pWintrustSetRegPolicyFlags
)
{
{
skip
(
"Policy flags functions not present
\n
"
);
win_
skip
(
"Policy flags functions not present
\n
"
);
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment