mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-11 16:00:52 -04: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
|
@ -26,6 +26,8 @@
|
|||
#include "format/KeePass2.h"
|
||||
#include "format/KeePass2RandomStream.h"
|
||||
|
||||
QTEST_GUILESS_MAIN(TestKeePass2RandomStream)
|
||||
|
||||
void TestKeePass2RandomStream::initTestCase()
|
||||
{
|
||||
Crypto::init();
|
||||
|
@ -77,5 +79,3 @@ void TestKeePass2RandomStream::test()
|
|||
QCOMPARE(cipherData, cipherDataEncrypt);
|
||||
QCOMPARE(randomStreamData, cipherData);
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(TestKeePass2RandomStream)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue