mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-19 12:24:41 -04:00
Add Save and SaveAs gui tests.
This commit is contained in:
parent
b579eb954e
commit
2e38b01d80
4 changed files with 77 additions and 15 deletions
|
@ -19,7 +19,9 @@
|
|||
#define KEEPASSX_TESTGUI_H
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QTemporaryFile>
|
||||
|
||||
class DatabaseTabWidget;
|
||||
class MainWindow;
|
||||
|
||||
class TestGui : public QObject
|
||||
|
@ -33,11 +35,15 @@ private Q_SLOTS:
|
|||
void testEditEntry();
|
||||
void testAddEntry();
|
||||
void testSearch();
|
||||
void testSaveAs();
|
||||
void testSave();
|
||||
void testKeePass1Import();
|
||||
void cleanupTestCase();
|
||||
|
||||
private:
|
||||
MainWindow* m_mainWindow;
|
||||
DatabaseTabWidget* m_tabWidget;
|
||||
QTemporaryFile tmpFile;
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_TESTGUI_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue