Move QTEST_GUILESS_MAIN statements before test cases.

This commit is contained in:
Florian Geyer
2014-05-16 12:32:52 +02:00
parent ea3375490c
commit 77af79498c
21 changed files with 40 additions and 41 deletions

View File

@@ -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)