mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 06:36:07 -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
|
@ -25,6 +25,7 @@
|
|||
#include <QtGui/QPushButton>
|
||||
|
||||
#include "config-keepassx-tests.h"
|
||||
#include "tests.h"
|
||||
#include "crypto/Crypto.h"
|
||||
#include "gui/FileDialog.h"
|
||||
#include "gui/MainWindow.h"
|
||||
|
@ -65,4 +66,4 @@ void TestGui::cleanupTestCase()
|
|||
delete m_mainWindow;
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestGui);
|
||||
KEEPASSX_QTEST_GUI_MAIN(TestGui)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue