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

@@ -28,6 +28,8 @@
#include "format/KeePass2XmlReader.h"
#include "config-keepassx-tests.h"
QTEST_GUILESS_MAIN(TestKeePass2XmlReader)
namespace QTest {
template<>
char* toString(const Uuid& uuid)
@@ -378,5 +380,3 @@ void TestKeePass2XmlReader::cleanupTestCase()
{
delete m_db;
}
QTEST_GUILESS_MAIN(TestKeePass2XmlReader)