mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-05 04:54:20 -04:00
Formatting the code.
This commit is contained in:
parent
74efc57369
commit
8324d03f0a
294 changed files with 3796 additions and 3740 deletions
|
@ -141,7 +141,6 @@ void TestModified::testGroupSets()
|
|||
root->setIcon(root->iconUuid());
|
||||
QCOMPARE(spyModified.count(), spyCount);
|
||||
|
||||
|
||||
group->setUuid(Uuid::random());
|
||||
QCOMPARE(spyModified.count(), ++spyCount);
|
||||
group->setUuid(group->uuid());
|
||||
|
@ -306,7 +305,7 @@ void TestModified::testHistoryItems()
|
|||
entry->setTitle("b");
|
||||
entry->endUpdate();
|
||||
QCOMPARE(entry->historyItems().size(), ++historyItemsSize);
|
||||
auto *historyEntry = entry->historyItems().at(historyItemsSize - 1);
|
||||
auto* historyEntry = entry->historyItems().at(historyItemsSize - 1);
|
||||
QCOMPARE(historyEntry->title(), QString("a"));
|
||||
QCOMPARE(historyEntry->uuid(), entry->uuid());
|
||||
QCOMPARE(historyEntry->tags(), entry->tags());
|
||||
|
@ -475,7 +474,6 @@ void TestModified::testHistoryMaxSize()
|
|||
QCOMPARE(entry1->attachments()->attachmentsSize(), 6000 + key.size());
|
||||
QCOMPARE(entry1->historyItems().size(), 4);
|
||||
|
||||
|
||||
auto entry2 = new Entry();
|
||||
entry2->setGroup(db->rootGroup());
|
||||
QCOMPARE(entry2->historyItems().size(), 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue