mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-24 22:58:47 -04:00
Add GroupModel and corresponding unit test.
This commit is contained in:
parent
9b0ba46b31
commit
072a8ccf1b
12 changed files with 922 additions and 8 deletions
|
@ -62,8 +62,8 @@ void TestGroup::testParenting()
|
|||
QVERIFY(g3->children().size() == 1);
|
||||
QVERIFY(g4->children().size() == 0);
|
||||
|
||||
QVERIFY(g1->children().contains(g2));
|
||||
QVERIFY(g1->children().contains(g3));
|
||||
QVERIFY(g1->children().at(0) == g2);
|
||||
QVERIFY(g1->children().at(1) == g3);
|
||||
QVERIFY(g3->children().contains(g4));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue