File indexing completed on 2024-12-01 04:35:26

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class PermissionManagerTest : public QObject
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit PermissionManagerTest(QObject *parent = nullptr);
0016     ~PermissionManagerTest() override = default;
0017 private Q_SLOTS:
0018     void shouldHaveDefaultValues();
0019     void shouldHasRoles();
0020 
0021     void shouldLoadPermissions();
0022     void shouldLoadPermissions_data();
0023 
0024     void shouldUpdatePermissions();
0025     void shouldUpdatePermissions_data();
0026 };