12 Commits

Author SHA1 Message Date
Brad Hards
473fd6c9f6 A couple of additional trivial tests. I wanted to test a theory about
another problem - tests passed, but helped exclude the issue.

svn path=/trunk/kdesupport/qca/; revision=402616
2005-04-02 11:42:04 +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
99fb0e049e Add tests for QCA::provider(), including iterator.
svn path=/trunk/kdesupport/qca/; revision=364657
2004-11-21 00:16:07 +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
299b2c1fd7 One more test step, covering the "just one, doesn't exist" provider
svn path=/trunk/kdesupport/qca/; revision=361076
2004-11-06 23:29:02 +00:00
Brad Hards
628ed4107b Tests for feature support tests - isSupported(), supportedFeatures,
defaultFeatures()

svn path=/trunk/kdesupport/qca/; revision=360925
2004-11-06 08:52:30 +00:00
Brad Hards
d8db89bc01 Some more test steps covering QSecureArray ops
svn path=/trunk/kdesupport/qca/; revision=360650
2004-11-05 09:39:08 +00:00
Brad Hards
139d3f03a2 Convert unit tests to QCA2 style.
svn path=/trunk/kdesupport/qca/; revision=359929
2004-11-02 19:24:57 +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