8 Commits

Author SHA1 Message Date
Brad Hards
16affec187 Remove redundant filename entries.
svn path=/trunk/kdesupport/qca/; revision=412172
2005-05-10 21:36:39 +00:00
Brad Hards
b215debfb2 Do initialization - crash less.
svn path=/trunk/kdesupport/qca/; revision=401191
2005-03-28 07:49:05 +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
611ba49f3b Tests for new Botan provider.
svn path=/trunk/kdesupport/qca/; revision=365742
2004-11-24 07:37:57 +00:00
Brad Hards
32224ba4cd Update unit tests - new Random (to test the static method the way
they are meant to be used) and updates to the HMAC tests to handle
the changes to the interface for SymmetricKey and QSecureArray

svn path=/trunk/kdesupport/qca/; revision=361932
2004-11-10 10:05:55 +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