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
df4d6645
Commit
df4d6645
authored
Feb 24, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Use win_skip() to skip over unimplemented functionality.
parent
3d777d6e
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
27 deletions
+27
-27
base64.c
dlls/crypt32/tests/base64.c
+2
-2
cert.c
dlls/crypt32/tests/cert.c
+5
-5
chain.c
dlls/crypt32/tests/chain.c
+3
-3
crl.c
dlls/crypt32/tests/crl.c
+2
-2
encode.c
dlls/crypt32/tests/encode.c
+1
-1
oid.c
dlls/crypt32/tests/oid.c
+1
-1
protectdata.c
dlls/crypt32/tests/protectdata.c
+1
-1
store.c
dlls/crypt32/tests/store.c
+7
-7
str.c
dlls/crypt32/tests/str.c
+5
-5
No files found.
dlls/crypt32/tests/base64.c
View file @
df4d6645
...
@@ -449,10 +449,10 @@ START_TEST(base64)
...
@@ -449,10 +449,10 @@ START_TEST(base64)
if
(
pCryptBinaryToStringA
)
if
(
pCryptBinaryToStringA
)
testBinaryToStringA
();
testBinaryToStringA
();
else
else
skip
(
"CryptBinaryToStringA is not available
\n
"
);
win_
skip
(
"CryptBinaryToStringA is not available
\n
"
);
if
(
pCryptStringToBinaryA
)
if
(
pCryptStringToBinaryA
)
testStringToBinaryA
();
testStringToBinaryA
();
else
else
skip
(
"CryptStringToBinaryA is not available
\n
"
);
win_
skip
(
"CryptStringToBinaryA is not available
\n
"
);
}
}
dlls/crypt32/tests/cert.c
View file @
df4d6645
...
@@ -1672,12 +1672,12 @@ static void testVerifyCertSig(HCRYPTPROV csp, const CRYPT_DATA_BLOB *toBeSigned,
...
@@ -1672,12 +1672,12 @@ static void testVerifyCertSig(HCRYPTPROV csp, const CRYPT_DATA_BLOB *toBeSigned,
if
(
!
pCryptVerifyCertificateSignatureEx
)
if
(
!
pCryptVerifyCertificateSignatureEx
)
{
{
skip
(
"no CryptVerifyCertificateSignatureEx support
\n
"
);
win_
skip
(
"no CryptVerifyCertificateSignatureEx support
\n
"
);
return
;
return
;
}
}
if
(
!
pCryptEncodeObjectEx
)
if
(
!
pCryptEncodeObjectEx
)
{
{
skip
(
"no CryptEncodeObjectEx support
\n
"
);
win_
skip
(
"no CryptEncodeObjectEx support
\n
"
);
return
;
return
;
}
}
ret
=
pCryptVerifyCertificateSignatureEx
(
0
,
0
,
0
,
NULL
,
0
,
NULL
,
0
,
NULL
);
ret
=
pCryptVerifyCertificateSignatureEx
(
0
,
0
,
0
,
NULL
,
0
,
NULL
,
0
,
NULL
);
...
@@ -1897,7 +1897,7 @@ static void testCreateSelfSignCert(void)
...
@@ -1897,7 +1897,7 @@ static void testCreateSelfSignCert(void)
if
(
!
pCertCreateSelfSignCertificate
)
if
(
!
pCertCreateSelfSignCertificate
)
{
{
skip
(
"CertCreateSelfSignCertificate() is not available
\n
"
);
win_
skip
(
"CertCreateSelfSignCertificate() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -2334,7 +2334,7 @@ static void testGetValidUsages(void)
...
@@ -2334,7 +2334,7 @@ static void testGetValidUsages(void)
if
(
!
pCertGetValidUsages
)
if
(
!
pCertGetValidUsages
)
{
{
skip
(
"CertGetValidUsages() is not available
\n
"
);
win_
skip
(
"CertGetValidUsages() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -2875,7 +2875,7 @@ static void testAcquireCertPrivateKey(void)
...
@@ -2875,7 +2875,7 @@ static void testAcquireCertPrivateKey(void)
if
(
!
pCryptAcquireCertificatePrivateKey
)
if
(
!
pCryptAcquireCertificatePrivateKey
)
{
{
skip
(
"CryptAcquireCertificatePrivateKey() is not available
\n
"
);
win_
skip
(
"CryptAcquireCertificatePrivateKey() is not available
\n
"
);
return
;
return
;
}
}
...
...
dlls/crypt32/tests/chain.c
View file @
df4d6645
...
@@ -68,7 +68,7 @@ static void testCreateCertChainEngine(void)
...
@@ -68,7 +68,7 @@ static void testCreateCertChainEngine(void)
if
(
!
pCertCreateCertificateChainEngine
||
!
pCertFreeCertificateChainEngine
)
if
(
!
pCertCreateCertificateChainEngine
||
!
pCertFreeCertificateChainEngine
)
{
{
skip
(
"Cert*CertificateChainEngine() functions are not available
\n
"
);
win_
skip
(
"Cert*CertificateChainEngine() functions are not available
\n
"
);
return
;
return
;
}
}
...
@@ -1930,7 +1930,7 @@ static void testVerifyCertChainPolicy(void)
...
@@ -1930,7 +1930,7 @@ static void testVerifyCertChainPolicy(void)
if
(
!
pCertVerifyCertificateChainPolicy
)
if
(
!
pCertVerifyCertificateChainPolicy
)
{
{
skip
(
"CertVerifyCertificateChainPolicy() is not available
\n
"
);
win_
skip
(
"CertVerifyCertificateChainPolicy() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -2010,7 +2010,7 @@ START_TEST(chain)
...
@@ -2010,7 +2010,7 @@ START_TEST(chain)
testCreateCertChainEngine
();
testCreateCertChainEngine
();
if
(
!
pCertGetCertificateChain
)
if
(
!
pCertGetCertificateChain
)
{
{
skip
(
"CertGetCertificateChain() is not available
\n
"
);
win_
skip
(
"CertGetCertificateChain() is not available
\n
"
);
}
}
else
else
{
{
...
...
dlls/crypt32/tests/crl.c
View file @
df4d6645
...
@@ -219,7 +219,7 @@ static void testFindCRL(void)
...
@@ -219,7 +219,7 @@ static void testFindCRL(void)
if
(
!
store
)
return
;
if
(
!
store
)
return
;
if
(
!
pCertFindCRLInStore
)
if
(
!
pCertFindCRLInStore
)
{
{
skip
(
"CertFindCRLInStore() is not available
\n
"
);
win_
skip
(
"CertFindCRLInStore() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -619,7 +619,7 @@ static void testFindCertInCRL(void)
...
@@ -619,7 +619,7 @@ static void testFindCertInCRL(void)
if
(
!
pCertFindCertificateInCRL
)
if
(
!
pCertFindCertificateInCRL
)
{
{
skip
(
"CertFindCertificateInCRL() is not available
\n
"
);
win_
skip
(
"CertFindCertificateInCRL() is not available
\n
"
);
return
;
return
;
}
}
...
...
dlls/crypt32/tests/encode.c
View file @
df4d6645
...
@@ -7497,7 +7497,7 @@ START_TEST(encode)
...
@@ -7497,7 +7497,7 @@ START_TEST(encode)
pCryptEncodeObjectEx
=
(
void
*
)
GetProcAddress
(
hCrypt32
,
"CryptEncodeObjectEx"
);
pCryptEncodeObjectEx
=
(
void
*
)
GetProcAddress
(
hCrypt32
,
"CryptEncodeObjectEx"
);
if
(
!
pCryptDecodeObjectEx
||
!
pCryptEncodeObjectEx
)
if
(
!
pCryptDecodeObjectEx
||
!
pCryptEncodeObjectEx
)
{
{
skip
(
"CryptDecodeObjectEx() is not available
\n
"
);
win_
skip
(
"CryptDecodeObjectEx() is not available
\n
"
);
return
;
return
;
}
}
...
...
dlls/crypt32/tests/oid.c
View file @
df4d6645
...
@@ -531,7 +531,7 @@ static void test_enumOIDInfo(void)
...
@@ -531,7 +531,7 @@ static void test_enumOIDInfo(void)
if
(
!
pCryptEnumOIDInfo
)
if
(
!
pCryptEnumOIDInfo
)
{
{
skip
(
"CryptEnumOIDInfo() is not available
\n
"
);
win_
skip
(
"CryptEnumOIDInfo() is not available
\n
"
);
return
;
return
;
}
}
...
...
dlls/crypt32/tests/protectdata.c
View file @
df4d6645
...
@@ -221,7 +221,7 @@ START_TEST(protectdata)
...
@@ -221,7 +221,7 @@ START_TEST(protectdata)
pCryptUnprotectData
=
(
void
*
)
GetProcAddress
(
hCrypt32
,
"CryptUnprotectData"
);
pCryptUnprotectData
=
(
void
*
)
GetProcAddress
(
hCrypt32
,
"CryptUnprotectData"
);
if
(
!
pCryptProtectData
||
!
pCryptUnprotectData
)
if
(
!
pCryptProtectData
||
!
pCryptUnprotectData
)
{
{
skip
(
"Crypt(Un)ProtectData() is not available
\n
"
);
win_
skip
(
"Crypt(Un)ProtectData() is not available
\n
"
);
return
;
return
;
}
}
...
...
dlls/crypt32/tests/store.c
View file @
df4d6645
...
@@ -285,7 +285,7 @@ static void testCollectionStore(void)
...
@@ -285,7 +285,7 @@ static void testCollectionStore(void)
if
(
!
pCertAddStoreToCollection
)
if
(
!
pCertAddStoreToCollection
)
{
{
skip
(
"CertAddStoreToCollection() is not available
\n
"
);
win_
skip
(
"CertAddStoreToCollection() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -545,7 +545,7 @@ static void testCollectionStore(void)
...
@@ -545,7 +545,7 @@ static void testCollectionStore(void)
if
(
!
pCertRemoveStoreFromCollection
)
if
(
!
pCertRemoveStoreFromCollection
)
{
{
skip
(
"CertRemoveStoreFromCollection() is not available
\n
"
);
win_
skip
(
"CertRemoveStoreFromCollection() is not available
\n
"
);
}
}
else
else
{
{
...
@@ -639,7 +639,7 @@ static void testRegStore(void)
...
@@ -639,7 +639,7 @@ static void testRegStore(void)
/* It looks like the remainder pretty much needs CertControlStore() */
/* It looks like the remainder pretty much needs CertControlStore() */
if
(
!
pCertControlStore
)
if
(
!
pCertControlStore
)
{
{
skip
(
"CertControlStore() is not available
\n
"
);
win_
skip
(
"CertControlStore() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -1113,7 +1113,7 @@ static void testFileStore(void)
...
@@ -1113,7 +1113,7 @@ static void testFileStore(void)
if
(
!
pCertControlStore
)
if
(
!
pCertControlStore
)
{
{
skip
(
"CertControlStore() is not available
\n
"
);
win_
skip
(
"CertControlStore() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -1714,7 +1714,7 @@ static void testCertEnumSystemStore(void)
...
@@ -1714,7 +1714,7 @@ static void testCertEnumSystemStore(void)
if
(
!
pCertEnumSystemStore
)
if
(
!
pCertEnumSystemStore
)
{
{
skip
(
"CertEnumSystemStore() is not available
\n
"
);
win_
skip
(
"CertEnumSystemStore() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -1754,7 +1754,7 @@ static void testStoreProperty(void)
...
@@ -1754,7 +1754,7 @@ static void testStoreProperty(void)
if
(
!
pCertGetStoreProperty
||
!
pCertSetStoreProperty
)
if
(
!
pCertGetStoreProperty
||
!
pCertSetStoreProperty
)
{
{
skip
(
"CertGet/SetStoreProperty() is not available
\n
"
);
win_
skip
(
"CertGet/SetStoreProperty() is not available
\n
"
);
return
;
return
;
}
}
...
@@ -2016,7 +2016,7 @@ static void test_I_UpdateStore(void)
...
@@ -2016,7 +2016,7 @@ static void test_I_UpdateStore(void)
if
(
!
pI_CertUpdatestore
)
if
(
!
pI_CertUpdatestore
)
{
{
skip
(
"No I_CertUpdateStore
\n
"
);
win_
skip
(
"No I_CertUpdateStore
\n
"
);
return
;
return
;
}
}
store1
=
CertOpenStore
(
CERT_STORE_PROV_MEMORY
,
0
,
0
,
store1
=
CertOpenStore
(
CERT_STORE_PROV_MEMORY
,
0
,
0
,
...
...
dlls/crypt32/tests/str.c
View file @
df4d6645
...
@@ -281,7 +281,7 @@ static void test_CertRDNValueToStrW(void)
...
@@ -281,7 +281,7 @@ static void test_CertRDNValueToStrW(void)
if
(
!
pCertRDNValueToStrW
)
if
(
!
pCertRDNValueToStrW
)
{
{
skip
(
"CertRDNValueToStrW is not available
\n
"
);
win_
skip
(
"CertRDNValueToStrW is not available
\n
"
);
return
;
return
;
}
}
...
@@ -333,7 +333,7 @@ static void test_CertNameToStrA(void)
...
@@ -333,7 +333,7 @@ static void test_CertNameToStrA(void)
if
(
!
pCertNameToStrA
)
if
(
!
pCertNameToStrA
)
{
{
skip
(
"CertNameToStrA is not available
\n
"
);
win_
skip
(
"CertNameToStrA is not available
\n
"
);
return
;
return
;
}
}
...
@@ -412,7 +412,7 @@ static void test_CertNameToStrW(void)
...
@@ -412,7 +412,7 @@ static void test_CertNameToStrW(void)
if
(
!
pCertNameToStrW
)
if
(
!
pCertNameToStrW
)
{
{
skip
(
"CertNameToStrW is not available
\n
"
);
win_
skip
(
"CertNameToStrW is not available
\n
"
);
return
;
return
;
}
}
...
@@ -499,7 +499,7 @@ static void test_CertStrToNameA(void)
...
@@ -499,7 +499,7 @@ static void test_CertStrToNameA(void)
if
(
!
pCertStrToNameA
)
if
(
!
pCertStrToNameA
)
{
{
skip
(
"CertStrToNameA is not available
\n
"
);
win_
skip
(
"CertStrToNameA is not available
\n
"
);
return
;
return
;
}
}
...
@@ -584,7 +584,7 @@ static void test_CertStrToNameW(void)
...
@@ -584,7 +584,7 @@ static void test_CertStrToNameW(void)
if
(
!
pCertStrToNameW
)
if
(
!
pCertStrToNameW
)
{
{
skip
(
"CertStrToNameW is not available
\n
"
);
win_
skip
(
"CertStrToNameW is not available
\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