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:
authorFelix Geyer <debfx@fobos.de>2012-01-02 01:04:27 +0400
committerFelix Geyer <debfx@fobos.de>2012-01-02 01:04:27 +0400
commita61057d7f666d58b62f7f593b59dc205e10e3b6f (patch)
treece0d2e9ff7ec6ce7e38531b33581ad6962cc7f10 /tests/TestEntryModel.cpp
parent17d0fb9963d9d02ea7d6fc8b52631d7ae6705cd6 (diff)
Core tests instantiate QCoreApplication instead of QApplication.
This way they can be used without a running X server.
Diffstat (limited to 'tests/TestEntryModel.cpp')
-rw-r--r--tests/TestEntryModel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestEntryModel.cpp b/tests/TestEntryModel.cpp
index 8555de4c4..cd8cb3f66 100644
--- a/tests/TestEntryModel.cpp
+++ b/tests/TestEntryModel.cpp
@@ -21,6 +21,7 @@
#include <QtTest/QTest>
#include "modeltest.h"
+#include "tests.h"
#include "core/Entry.h"
#include "core/Group.h"
#include "gui/EntryModel.h"
@@ -92,4 +93,4 @@ void TestEntryModel::test()
delete model;
}
-QTEST_MAIN(TestEntryModel);
+KEEPASSX_QTEST_CORE_MAIN(TestEntryModel)