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:
authorJonathan White <support@dmapps.us>2019-10-14 16:31:23 +0300
committerJonathan White <support@dmapps.us>2019-10-21 01:56:41 +0300
commit744b4abce801440ff4e143fb2bb416b3d7a91e07 (patch)
tree6d0f520feb41501f173536dc32a1b5d7ab0d494a /tests/TestDatabase.h
parent6b746913e4cd96dc6d539486c539de86a39f5d28 (diff)
Move FileWatcher into Database class
* Fix #3506 * Fix #2389 * Fix #2536 * Fix #2230 Every database that has been opened now watch's it's own file. This allows the database class to manage file changes and detect fail conditions during saving. Additionally, all stakeholders of the database can listen for the database file changed notification and respond accordingly. Performed significant cleanup of the autoreload code within DatabaseWidget. Fixed several issues with handling changes due to merging, not merging, and other scenarios while reloading. Prevent database saves to the same file if there are changes on disk that have not been merged with the open database.
Diffstat (limited to 'tests/TestDatabase.h')
-rw-r--r--tests/TestDatabase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/TestDatabase.h b/tests/TestDatabase.h
index 46deb58aa..b5df8690f 100644
--- a/tests/TestDatabase.h
+++ b/tests/TestDatabase.h
@@ -27,6 +27,8 @@ class TestDatabase : public QObject
private slots:
void initTestCase();
+ void testOpen();
+ void testSave();
void testEmptyRecycleBinOnDisabled();
void testEmptyRecycleBinOnNotCreated();
void testEmptyRecycleBinOnEmpty();