mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Test that modified() is emitted when deleting Groups and Entries.
This commit is contained in:
parent
433e8c4508
commit
134f9a663e
@ -89,9 +89,17 @@ void TestModified::testSignals()
|
|||||||
g4->setParent(g3);
|
g4->setParent(g3);
|
||||||
QCOMPARE(spyModified.count(), ++spyCount);
|
QCOMPARE(spyModified.count(), ++spyCount);
|
||||||
|
|
||||||
|
delete g4;
|
||||||
|
QCOMPARE(spyModified.count(), ++spyCount);
|
||||||
|
|
||||||
|
delete entry2;
|
||||||
|
QCOMPARE(spyModified2.count(), ++spyCount2);
|
||||||
|
|
||||||
|
QCOMPARE(spyModified.count(), spyCount);
|
||||||
QCOMPARE(spyModified2.count(), spyCount2);
|
QCOMPARE(spyModified2.count(), spyCount2);
|
||||||
|
|
||||||
delete db;
|
delete db;
|
||||||
|
delete db2;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestModified::testGroupSets()
|
void TestModified::testGroupSets()
|
||||||
|
Loading…
Reference in New Issue
Block a user