mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-15 00:20:06 -05:00
Move QTEST_GUILESS_MAIN statements before test cases.
This commit is contained in:
parent
ea3375490c
commit
77af79498c
21 changed files with 40 additions and 41 deletions
|
|
@ -23,6 +23,8 @@
|
|||
#include "crypto/Crypto.h"
|
||||
#include "crypto/CryptoHash.h"
|
||||
|
||||
QTEST_GUILESS_MAIN(TestCryptoHash)
|
||||
|
||||
void TestCryptoHash::initTestCase()
|
||||
{
|
||||
Crypto::init();
|
||||
|
|
@ -47,5 +49,3 @@ void TestCryptoHash::test()
|
|||
QCOMPARE(cryptoHash3.result(),
|
||||
QByteArray::fromHex("0b56e5f65263e747af4a833bd7dd7ad26a64d7a4de7c68e52364893dca0766b4"));
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(TestCryptoHash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue