mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-02 03:26:14 -04:00
Merge branch '2.0'
This commit is contained in:
commit
ad834f0f58
10 changed files with 38 additions and 12 deletions
|
@ -385,7 +385,12 @@ void TestGroup::testClone()
|
|||
QVERIFY(clonedSubGroupEntry->uuid() != subGroupEntry->uuid());
|
||||
QCOMPARE(clonedSubGroupEntry->title(), QString("SubGroupEntry"));
|
||||
|
||||
Group* clonedGroupKeepUuid = originalGroup->clone(Entry::CloneNoFlags);
|
||||
QCOMPARE(clonedGroupKeepUuid->entries().at(0)->uuid(), originalGroupEntry->uuid());
|
||||
QCOMPARE(clonedGroupKeepUuid->children().at(0)->entries().at(0)->uuid(), subGroupEntry->uuid());
|
||||
|
||||
delete clonedGroup;
|
||||
delete clonedGroupKeepUuid;
|
||||
delete db;
|
||||
}
|
||||
|
||||
|
|
|
@ -240,6 +240,7 @@ void TestGui::testSearch()
|
|||
QVERIFY(entryDeleteWidget->isEnabled());
|
||||
QVERIFY(!m_db->metadata()->recycleBin());
|
||||
|
||||
MessageBox::setNextAnswer(QMessageBox::Yes);
|
||||
QTest::mouseClick(entryDeleteWidget, Qt::LeftButton);
|
||||
|
||||
QCOMPARE(entryView->model()->rowCount(), 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue