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

@@ -31,6 +31,8 @@
#include "autotype/test/AutoTypeTestInterface.h"
#include "gui/MessageBox.h"
QTEST_GUILESS_MAIN(TestAutoType)
void TestAutoType::initTestCase()
{
Crypto::init();
@@ -154,5 +156,3 @@ void TestAutoType::testGlobalAutoTypeTitleMatchDisabled()
QCOMPARE(m_test->actionChars(), QString());
}
QTEST_GUILESS_MAIN(TestAutoType)