mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
Add test steps to copy and compare two null certificates.
svn path=/trunk/kdesupport/qca/; revision=525938
This commit is contained in:
parent
169d622d43
commit
3fab426b09
@ -46,7 +46,10 @@ void CertUnitTest::nullCert()
|
||||
QWARN( QString( "Certificate handling not supported for "+provider).toLocal8Bit() );
|
||||
else {
|
||||
QCA::Certificate nullCert;
|
||||
QCOMPARE(nullCert.isNull(), true);
|
||||
QVERIFY(nullCert.isNull());
|
||||
QCA::Certificate anotherNullCert = nullCert;
|
||||
QVERIFY( anotherNullCert.isNull() );
|
||||
QCOMPARE( nullCert, anotherNullCert );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user