Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Geyer <blueice@fobos.de>2014-05-16 14:32:52 +0400
committerFlorian Geyer <blueice@fobos.de>2014-05-16 14:32:52 +0400
commit77af79498c566be89787d206c2fa88985463a932 (patch)
tree7219ffa915a803bfa55794b5e67d5e03a31b9ffa /tests/TestEntry.cpp
parentea3375490c76ae410a7d1202cc8ce7a5e6d5f602 (diff)
Move QTEST_GUILESS_MAIN statements before test cases.
Diffstat (limited to 'tests/TestEntry.cpp')
-rw-r--r--tests/TestEntry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestEntry.cpp b/tests/TestEntry.cpp
index 15f398f18..481250a20 100644
--- a/tests/TestEntry.cpp
+++ b/tests/TestEntry.cpp
@@ -23,6 +23,8 @@
#include "core/Entry.h"
#include "crypto/Crypto.h"
+QTEST_GUILESS_MAIN(TestEntry)
+
void TestEntry::initTestCase()
{
Crypto::init();
@@ -121,5 +123,3 @@ void TestEntry::testClone()
QCOMPARE(entryCloneHistory->historyItems().first()->title(), QString("Original Title"));
QCOMPARE(entryCloneHistory->timeInfo().creationTime(), entryOrg->timeInfo().creationTime());
}
-
-QTEST_GUILESS_MAIN(TestEntry)