7 Commits

Author SHA1 Message Date
Brad Hards
e1ef70f4f4 Update unit tests to reflect recent API changes
svn path=/trunk/kdesupport/qca/; revision=398876
2005-03-19 01:00:29 +00:00
Brad Hards
280c53a47d Add weak key support back in.
svn path=/trunk/kdesupport/qca/; revision=394283
2005-03-02 07:32:22 +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
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
4b1b4a73ab More tests, including newish tests for Botan.
svn path=/trunk/kdesupport/qca/; revision=374178
2004-12-30 09:22:20 +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