mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Core tests instantiate QCoreApplication instead of QApplication.
This way they can be used without a running X server.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <QtTest/QTest>
|
||||
|
||||
#include "modeltest.h"
|
||||
#include "tests.h"
|
||||
#include "core/Database.h"
|
||||
#include "core/Group.h"
|
||||
#include "crypto/Crypto.h"
|
||||
@@ -109,4 +110,4 @@ void TestGroupModel::test()
|
||||
delete model;
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestGroupModel);
|
||||
KEEPASSX_QTEST_CORE_MAIN(TestGroupModel)
|
||||
|
||||
Reference in New Issue
Block a user