10 Commits

Author SHA1 Message Date
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
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
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
663b104c7f Delete the unittest list. This helps to reduce the noise when
using valgrind on the tests.

svn path=/trunk/kdesupport/qca/; revision=360534
2004-11-04 22:34:50 +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