diff options
author | Florian Geyer <blueice@fobos.de> | 2014-05-16 14:32:52 +0400 |
---|---|---|
committer | Florian Geyer <blueice@fobos.de> | 2014-05-16 14:32:52 +0400 |
commit | 77af79498c566be89787d206c2fa88985463a932 (patch) | |
tree | 7219ffa915a803bfa55794b5e67d5e03a31b9ffa /tests/TestEntry.cpp | |
parent | ea3375490c76ae410a7d1202cc8ce7a5e6d5f602 (diff) |
Move QTEST_GUILESS_MAIN statements before test cases.
Diffstat (limited to 'tests/TestEntry.cpp')
-rw-r--r-- | tests/TestEntry.cpp | 4 |
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) |