File indexing completed on 2025-01-05 04:58:17
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #pragma once 0007 0008 #include <QObject> 0009 0010 class ImapAclAttributeTest : public QObject 0011 { 0012 Q_OBJECT 0013 public: 0014 explicit ImapAclAttributeTest(QObject *parent = nullptr); 0015 ~ImapAclAttributeTest() override; 0016 private Q_SLOTS: 0017 void shouldHaveDefaultValue(); 0018 void shouldBuildAttribute(); 0019 void shouldAssignValue(); 0020 void shouldCloneAttr(); 0021 void shouldSerializedAttribute(); 0022 void shouldHaveType(); 0023 void testMyRights(); 0024 void testDeserialize_data(); 0025 void testDeserialize(); 0026 void testSerializeDeserialize_data(); 0027 void testSerializeDeserialize(); 0028 void testOldRights(); 0029 };