Justin Karneges
d80a68190d
update to reflect api changes
...
svn path=/trunk/kdesupport/qca/; revision=646748
2007-03-26 15:40:55 +00:00
Brad Hards
dc8fc52874
temporarily disable pgp unittest
...
Add support for logger unit tests for qconf/qmake.
svn path=/trunk/kdesupport/qca/; revision=625555
2007-01-20 11:13:25 +00:00
Brad Hards
5a293c84c1
Add in a new unit test, this one for PGP.
...
At the moment, this just check the keystore
functionality. It also doesn't work too well
for the case where there are no public keys.
However I think this is a problem with the
provider, not with the tests.
svn path=/trunk/kdesupport/qca/; revision=614289
2006-12-17 07:25:46 +00:00
Brad Hards
3aebcd629b
qconf/qmake build fixes for the new SNI unit test.
...
svn path=/trunk/kdesupport/qca/; revision=594805
2006-10-12 11:35:37 +00:00
Brad Hards
e281c22103
Add another unit test - this one checks client
...
side providers.
There is a bit to be done on this, but right now
it demonstrates the problem I'm seeing with the
AES-CMAC example, in that the plugin loader
segfaults.
CCMAIL: justin@affinix.com
svn path=/trunk/kdesupport/qca/; revision=562878
2006-07-16 05:32:52 +00:00
Brad Hards
76c1cff1b2
Start of a unit test case for Cryptographic
...
Message Syntax SecureMessage.
At the moment, it assert()s in the repeated use
of a SecureMessage. Until that is sorted out, it
can't be added to the full test suite.
svn path=/trunk/kdesupport/qca/; revision=528990
2006-04-12 10:20:04 +00:00
Brad Hards
2c93c81fea
Update the test framework for the new tests.
...
svn path=/trunk/kdesupport/qca/; revision=524829
2006-03-31 10:49:05 +00:00
Brad Hards
91f937adbd
Move the KeyLength unit tests to QTestLib and link
...
them into the test framework.
This is a very trivial test, but it already exists and
I wanted to clean up the left-over tests.
svn path=/trunk/kdesupport/qca/; revision=522582
2006-03-26 06:08:00 +00:00
Brad Hards
b045507d1d
Add the start of a set of unit tests for TLS.
...
Also do minor cleanups of the test framework.
svn path=/trunk/kdesupport/qca/; revision=519875
2006-03-18 05:06:10 +00:00
Brad Hards
cf029fd41d
Add certificate unit test into build.
...
svn path=/trunk/kdesupport/qca/; revision=503478
2006-01-29 11:49:05 +00:00
Brad Hards
b0474cde5d
convert over the symmetric key and hmac tests.
...
Also update cipherunittest to remove non-required deletion.
svn path=/trunk/kdesupport/qca/; revision=498274
2006-01-15 08:54:59 +00:00
Brad Hards
b15d8ae8aa
Convert the old symmetric cipher tests to use
...
QTestLib. Also fixed up some problems in the test
suite.
svn path=/trunk/kdesupport/qca/; revision=498252
2006-01-15 05:17:47 +00:00
Brad Hards
82dc381484
Big refactoring of the unit tests:
...
- start of conversion to new QtTestLib
- directory per test case
svn path=/trunk/kdesupport/qca/; revision=490779
2005-12-23 06:05:33 +00:00
Brad Hards
3b58d170b4
Start of big reorganisation of the unit tests.
...
This now requires QTestLib, as provided with
Qt 4.1
svn path=/trunk/kdesupport/qca/; revision=478231
2005-11-06 09:25:56 +00:00
Justin Karneges
20fd5eab8b
qca libs now go in lib subdir
...
svn path=/trunk/kdesupport/qca/; revision=441823
2005-08-01 03:15:35 +00:00
Brad Hards
307c073f3f
Add another test case - this time for the KeyGenerator class
...
svn path=/trunk/kdesupport/qca/; revision=419378
2005-05-29 10:17:23 +00:00
Brad Hards
708799f1a6
Add in a first cut of some unit tests for DSA.
...
svn path=/trunk/kdesupport/qca/; revision=404264
2005-04-09 09:32:07 +00:00
Brad Hards
742092c790
Add unit test for RSA.
...
svn path=/trunk/kdesupport/qca/; revision=403745
2005-04-07 11:25:12 +00:00
Brad Hards
d312792004
Big fixup of the unit test harness, and each unit test case, to match
...
the new Qt4 stuff, and the removal of QCString from the API
When I run this, I get:
# Running normal tests... #
Base64UnitTest - 22 tests passed, 0 tests failed
BigIntUnitTest - 252 tests passed, 0 tests failed
CertUnitTest - 0 tests passed, 1 test failed
Unexpected failure:
certunittest.cpp[40]: failed on "QCA::haveSystemStore()"
result = '0', expected = '1'
CipherUnitTest - 2740 tests passed, 0 tests failed
HashUnitTest - 186 tests passed, 0 tests failed
HexUnitTest - 17 tests passed, 0 tests failed
KDFUnitTest - 0 tests passed, 0 tests failed; also 2 skipped
Skipped tests:
kdfunittest.cpp[80]: "PBKDF version 1 with SHA1 not supported"
kdfunittest.cpp[98]: "PBKDF version 2 with SHA1 not supported"
KeyLengthUnitTest - 9 tests passed, 0 tests failed
MACUnitTest - 33 tests passed, 0 tests failed
RandomUnitTest - 67 tests passed, 0 tests failed
SecureArrayUnitTest - 32 tests passed, 0 tests failed
StaticUnitTest - 31 tests passed, 0 tests failed
SymmetricKeyUnitTest - 13 tests passed, 0 tests failed
# Done with normal tests:
Total test cases: 13
Total test steps : 3405
Total passed test steps (including unexpected) : 3402
Total unexpected passed test steps : 0
Total failed test steps (including expected) : 1
Total expected failed test steps : 0
Total skipped test steps : 2
CCMAIL: delta-affinix.com@lists.affinix.com
svn path=/trunk/kdesupport/qca/; revision=394072
2005-03-01 11:15:25 +00:00
Brad Hards
cb901afa85
Add first cut unit tests for certificate store handling.
...
This currently fails for me (on a Fedora Core 2 box) - it is
an issue of where the certs are stored. I'll work on a solution.
svn path=/trunk/kdesupport/qca/; revision=377720
2005-01-12 11:25:08 +00:00
Brad Hards
395507dfb7
Another unit test - this time for Base64 encoding.
...
svn path=/trunk/kdesupport/qca/; revision=374588
2005-01-01 08:49:45 +00:00
Brad Hards
9e3e39fa56
Make the first QtCrypto part of the include path, not the #include
...
statement.
You also get some bonus Hex tests.
svn path=/trunk/kdesupport/qca/; revision=374575
2005-01-01 05:11:34 +00:00
Brad Hards
5364172b16
Update unit tests to use new include style.
...
Also includes a few little cleanups as well.
svn path=/trunk/kdesupport/qca/; revision=374573
2005-01-01 04:20:34 +00:00
Brad Hards
2a1bb49334
Add first-cut unit tests for the Key Deriviation Function stuff.
...
svn path=/trunk/kdesupport/qca/; revision=374186
2004-12-30 09:37:08 +00:00
Brad Hards
244723d71d
Update the kunittest framework, fixing a bug that hid skipped tests
...
when there was also at least one failing step.
Add in some cipher tests - really simple AES128 for now, but at least
its a start...
svn path=/trunk/kdesupport/qca/; revision=364424
2004-11-20 05:46:38 +00:00
Brad Hards
902ee06a4f
Turn on debugging
...
svn path=/trunk/kdesupport/qca/; revision=361930
2004-11-10 09:49:34 +00:00
Brad Hards
bfbbb1ec5c
New unit tests for Random, SymmmetricKey and KeyLength.
...
MACUnitTest won't compile right now. I'll resolve that later tonight.
svn path=/trunk/kdesupport/qca/; revision=361653
2004-11-09 09:00:22 +00:00
Brad Hards
3a02423fa0
Unit test case for HMAC-SHA1 and HMAC-MD5
...
svn path=/trunk/kdesupport/qca/; revision=361125
2004-11-07 09:19:48 +00:00
Brad Hards
a0218bd23b
Start of some unit tests for QSecureArray
...
svn path=/trunk/kdesupport/qca/; revision=360598
2004-11-05 03:10:59 +00:00
Brad Hards
08d69c5d27
Add some of the Botan test cases for QBigInteger - lots more
...
cases still to be done.
My machine is delivering failing tests for a few steps (currently 7
failures) and 17 passes. There are a lot of tests commented out -
any use of a QBigInteger( QString ) constructor with the QString
representing a negative number causes SIGABRT.
Of the 7 cases that are failing, two are for subtraction. Looks like
-= is broken.
svn path=/trunk/kdesupport/qca/; revision=357243
2004-10-24 06:34:11 +00:00
Brad Hards
5bc85f02b2
Big refactoring of the unittest code - now uses Zack Rusin's
...
kunittest framework, with a few changes by me.
The test coverage is the same.
svn path=/trunk/kdesupport/qca/; revision=357083
2004-10-23 11:28:42 +00:00
Brad Hards
27c7a01f77
First round of unit tests. No special support at this stage (although
...
it might be nice to use Zack's kunittest - doesn't appear to have any
heavy KDE dependency) - open coded tests.
svn path=/trunk/kdesupport/qca/; revision=349851
2004-09-27 21:47:33 +00:00