mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-10 06:05:49 -05:00
Make some Group methods private.
This commit is contained in:
parent
b4367a7ea1
commit
4dbdc4d847
13 changed files with 43 additions and 20 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include <QtTest/QTest>
|
||||
|
||||
#include "core/Database.h"
|
||||
#include "core/Group.h"
|
||||
|
||||
void TestGroup::initTestCase()
|
||||
{
|
||||
|
|
@ -46,7 +47,7 @@ void TestGroup::testParenting()
|
|||
g2->setParent(g1);
|
||||
g4->setParent(g3);
|
||||
g3->setParent(g1);
|
||||
g1->setParent(db);
|
||||
db->setRootGroup(g1);
|
||||
|
||||
QVERIFY(g1->parent() == db);
|
||||
QVERIFY(g2->parent() == g1);
|
||||
|
|
@ -91,7 +92,7 @@ void TestGroup::testSignals()
|
|||
{
|
||||
Database* db = new Database();
|
||||
QPointer<Group> root = new Group();
|
||||
root->setParent(db);
|
||||
db->setRootGroup(root);
|
||||
|
||||
Group* g1 = new Group();
|
||||
Group* g2 = new Group();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue