Add test steps to copy and compare two null certificates.

svn path=/trunk/kdesupport/qca/; revision=525938
This commit is contained in:
Brad Hards 2006-04-03 11:43:37 +00:00
parent 169d622d43
commit 3fab426b09

View File

@ -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 );
}
}
}