mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-30 18:18:35 -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
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include <QTest>
|
||||
|
||||
QTEST_GUILESS_MAIN(TestRandom)
|
||||
|
||||
void TestRandom::initTestCase()
|
||||
{
|
||||
m_backend = new RandomBackendTest();
|
||||
|
@ -93,5 +95,3 @@ void RandomBackendTest::setNextBytes(const QByteArray& nextBytes)
|
|||
m_nextBytes = nextBytes;
|
||||
m_bytesIndex = 0;
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(TestRandom)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue