File indexing completed on 2025-01-12 04:52:08

0001 /*
0002    SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "mail/importexportmailutil.h"
0010 #include "mail/importmailfolderattributejob.h"
0011 #include <QObject>
0012 
0013 class ImportMailFolderAttributeJobImplTest : public ImportMailFolderAttributeJob
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit ImportMailFolderAttributeJobImplTest(QObject *parent = nullptr)
0018         : ImportMailFolderAttributeJob(parent)
0019     {
0020     }
0021     ~ImportMailFolderAttributeJobImplTest() override = default;
0022 
0023 protected:
0024     void applyAttributes(const QMap<Akonadi::Collection::Id, ImportExportMailUtil::AttributeInfo> &) override
0025     {
0026         // Nothing
0027     }
0028 };
0029 
0030 class ImportMailFolderAttributeJobTest : public QObject
0031 {
0032     Q_OBJECT
0033 public:
0034     explicit ImportMailFolderAttributeJobTest(QObject *parent = nullptr);
0035     ~ImportMailFolderAttributeJobTest() override = default;
0036 
0037 private Q_SLOTS:
0038     void shouldEmitSignal();
0039     void shouldHaveDefaultValues();
0040 };