diff options
author | Felix Geyer <debfx@fobos.de> | 2014-06-15 13:17:40 +0400 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2014-06-15 13:17:40 +0400 |
commit | 0d6117bf4c0ac1e604c5b2fa0dcf8d5d47c46a58 (patch) | |
tree | cb3421a2438fc659ffe91b31a1170832f0dbf7f0 /tests/TestCryptoHash.cpp | |
parent | b417bf91873ae760031cdc821d4e411701da71f5 (diff) |
Do some basic self-checks when initializing the crypto backend.
Diffstat (limited to 'tests/TestCryptoHash.cpp')
-rw-r--r-- | tests/TestCryptoHash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestCryptoHash.cpp b/tests/TestCryptoHash.cpp index d189d456c..eb26ca83f 100644 --- a/tests/TestCryptoHash.cpp +++ b/tests/TestCryptoHash.cpp @@ -27,13 +27,13 @@ QTEST_GUILESS_MAIN(TestCryptoHash) void TestCryptoHash::initTestCase() { - Crypto::init(); + QVERIFY(Crypto::init()); } void TestCryptoHash::test() { // TODO: move somewhere else - QVERIFY(Crypto::selfTest()); + QVERIFY(Crypto::backendSelfTest()); CryptoHash cryptoHash1(CryptoHash::Sha256); QCOMPARE(cryptoHash1.result(), |