mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-15 16:39:43 -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
|
|
@ -27,6 +27,8 @@
|
|||
#include "core/Metadata.h"
|
||||
#include "crypto/Crypto.h"
|
||||
|
||||
QTEST_GUILESS_MAIN(TestGroup)
|
||||
|
||||
void TestGroup::initTestCase()
|
||||
{
|
||||
qRegisterMetaType<Entry*>("Entry*");
|
||||
|
|
@ -440,5 +442,3 @@ void TestGroup::testCopyCustomIcons()
|
|||
QCOMPARE(metaTarget->customIcon(group1Icon).pixel(0, 0), qRgb(1, 2, 3));
|
||||
QCOMPARE(metaTarget->customIcon(group2Icon).pixel(0, 0), qRgb(4, 5, 6));
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(TestGroup)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue