4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-05 07:29:32 +00:00

29 Commits

Author SHA1 Message Date
Brad Hards
515bbd19e1 Update to use new certificates. The old ones were
from openvalidation.org, but have expired.

This test should now pass.

svn path=/trunk/kdesupport/qca/; revision=690744
2007-07-22 04:22:00 +00:00
Brad Hards
6302b633dc Change the target for the qmake/qconf based unit tests to be
"make test", to match cmake.


svn path=/trunk/kdesupport/qca/; revision=685629
2007-07-09 10:52:52 +00:00
Brad Hards
5547b5554b Handle the case where we don't have a provider for Certificate or CRL.
This should make the tests less fragile.


svn path=/trunk/kdesupport/qca/; revision=685068
2007-07-08 03:03:39 +00:00
Justin Karneges
6152c977c0 follow qca-openssl -> qca-ossl rename
svn path=/trunk/kdesupport/qca/; revision=681691
2007-06-29 21:30:22 +00:00
Justin Karneges
aabc8961d8 Hostname -> HostName
svn path=/trunk/kdesupport/qca/; revision=680274
2007-06-25 20:01:47 +00:00
Justin Karneges
ab782c5ff4 remove unnecessary secure array usage from cert api
svn path=/trunk/kdesupport/qca/; revision=674313
2007-06-12 02:30:58 +00:00
Justin Karneges
5c6439a6c1 by default, all unittests/examples are console without a mac.app bundle
svn path=/trunk/kdesupport/qca/; revision=656265
2007-04-20 20:08:47 +00:00
Alon Bar-Lev
9f9f2d05d6 QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger fixups
svn path=/trunk/kdesupport/qca/; revision=653605
2007-04-13 19:19:18 +00:00
Justin Karneges
e6a4a57edd update to build against the right qca lib name
svn path=/trunk/kdesupport/qca/; revision=648311
2007-03-30 23:42:53 +00:00
Brad Hards
131bf8eaac Add automated unittesting support. Now, you can
just "make test" and it will run the appropriate
tests.

svn path=/trunk/kdesupport/qca/; revision=609827
2006-12-02 11:53:32 +00:00
Brad Hards
96be553cdd Add this for a future test.
svn path=/trunk/kdesupport/qca/; revision=594719
2006-10-12 04:20:15 +00:00
Brad Hards
3295e0ec4e Add in CMake support for this test.
Gratutiously delete some whitespace

Add a test to verify that we don't crash on trying to
import files that don't exist.


svn path=/trunk/kdesupport/qca/; revision=594692
2006-10-12 00:53:26 +00:00
Brad Hards
b7441634a2 Delete unused file - this got folded into certunittest.cpp
svn path=/trunk/kdesupport/qca/; revision=594691
2006-10-12 00:51:04 +00:00
Brad Hards
95737b7486 Update the X.509 certificates unit test.
Changes:
1. The whole test is now a single file, so it is easier
to update, and to make the CMake integration simpler.
2. The old test certificates have expired. Those are
now used to test certificate expiry, and new certificates
(from http://openvalidation.org) have been added.
3. The old client and server cert tests have been updated
to reflect the updated certificates.

This passes for me on Qt 4.1.4, using qmake/qconf.

svn path=/trunk/kdesupport/qca/; revision=594680
2006-10-12 00:05:20 +00:00
Brad Hards
1fba679d79 Add tests for matchHostname() against altnames. This
fails at the moment, although I haven't checked the 
implementation to determine why.

CCBUG:107604

svn path=/trunk/kdesupport/qca/; revision=540562
2006-05-14 00:34:57 +00:00
Brad Hards
85f9df6a47 Update the test suite to include additional tests.
One test covers certificates in DER format.

The other test is intended to demonstrate a problem
that we currently have with altname handling - we only 
manage to provide one altname, irrespective of how
many there are.

svn path=/trunk/kdesupport/qca/; revision=540400
2006-05-13 11:07:11 +00:00
Brad Hards
a79d26376a Add in another couple of test certificates for
future unit testing.

svn path=/trunk/kdesupport/qca/; revision=540397
2006-05-13 10:58:02 +00:00
Brad Hards
3fab426b09 Add test steps to copy and compare two null certificates.
svn path=/trunk/kdesupport/qca/; revision=525938
2006-04-03 11:43:37 +00:00
Brad Hards
ec8a3946d6 Update to remove the signature() calls.
svn path=/trunk/kdesupport/qca/; revision=525921
2006-04-03 10:22:47 +00:00
Brad Hards
0882bfd13b Add another CertificateRequest test case.
svn path=/trunk/kdesupport/qca/; revision=513709
2006-02-26 06:24:36 +00:00
Brad Hards
41d28134db Add another CSR, in preparation for another test case.
svn path=/trunk/kdesupport/qca/; revision=513707
2006-02-26 05:57:55 +00:00
Brad Hards
1005503ee3 Add CSR test certificate
svn path=/trunk/kdesupport/qca/; revision=513686
2006-02-26 04:19:47 +00:00
Brad Hards
45c867971b Add tests for CertificateRequest
svn path=/trunk/kdesupport/qca/; revision=513685
2006-02-26 04:17:51 +00:00
Brad Hards
9c415f0520 Add a test for XMPP and DNS extensions.
svn path=/trunk/kdesupport/qca/; revision=512683
2006-02-23 10:39:39 +00:00
Brad Hards
f63aaf3c2a Add CRL unit test support.
svn path=/trunk/kdesupport/qca/; revision=512672
2006-02-23 09:49:56 +00:00
Brad Hards
31c3358bd4 Add certificate signature support
svn path=/trunk/kdesupport/qca/; revision=505141
2006-02-03 09:22:55 +00:00
Brad Hards
de66b015b0 Add test coverage for a cert that caused crashes.
svn path=/trunk/kdesupport/qca/; revision=504490
2006-02-01 10:58:56 +00:00
Brad Hards
1e6259761d The problems are now fixed.
svn path=/trunk/kdesupport/qca/; revision=504480
2006-02-01 10:06:21 +00:00
Brad Hards
a68a9ea320 Switch the certificate handling unit test over to
the QTestLib framework.

svn path=/trunk/kdesupport/qca/; revision=503466
2006-01-29 11:24:50 +00:00