mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-17 05:52:31 -04:00
Change the Entry attributes/attachment API to provide a stable key order.
This commit is contained in:
parent
b3063c6fc8
commit
d527e63f1f
6 changed files with 73 additions and 35 deletions
|
@ -75,7 +75,7 @@ void TestKeePass2Writer::testProtectedAttributes()
|
|||
{
|
||||
QCOMPARE(m_dbTest->rootGroup()->entries().size(), 1);
|
||||
Entry* entry = m_dbTest->rootGroup()->entries().at(0);
|
||||
QCOMPARE(entry->attributes().value("test"), QString("protectedTest"));
|
||||
QCOMPARE(entry->attributeValue("test"), QString("protectedTest"));
|
||||
QCOMPARE(entry->isAttributeProtected("test"), true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue