mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-12 03:25:21 -04:00
Core tests instantiate QCoreApplication instead of QApplication.
This way they can be used without a running X server.
This commit is contained in:
parent
17d0fb9963
commit
a61057d7f6
14 changed files with 59 additions and 13 deletions
|
@ -20,6 +20,7 @@
|
|||
#include <QtTest/QTest>
|
||||
|
||||
#include "config-keepassx-tests.h"
|
||||
#include "tests.h"
|
||||
#include "core/Database.h"
|
||||
#include "core/Group.h"
|
||||
#include "core/Metadata.h"
|
||||
|
@ -91,4 +92,4 @@ void TestKeePass2Reader::testProtectedStrings()
|
|||
delete reader;
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestKeePass2Reader);
|
||||
QTEST_MAIN(TestKeePass2Reader)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue