akondi-mime5/akonadi-mime5/autotests/localfolderstest.h
Ward from fusion-voyager-3 a8e7e301c1
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 12s
fixx akondi
2024-08-05 17:19:50 +03:00

47 lines
913 B
C++

/*
SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include <QMap>
#include <QObject>
/**
*/
namespace Akonadi
{
class LocalFoldersTest : public QObject
{
Q_OBJECT
private Q_SLOTS:
void initTestCase();
// Tests for GetLockJob:
void testLock();
// Tests for LocalFolders:
void testInitialState();
void testRegistrationErrors();
void testDefaultFolderRegistration();
void testCustomFolderRegistration();
void testCollectionDelete();
void testBatchRegister();
// Tests for ResourceScanJob:
void testResourceScanErrors();
void testResourceScan();
// Tests for DefaultResourceJob:
void testDefaultResourceJob();
void testRecoverDefaultResource();
private:
QMap<QByteArray, QString> mDisplayNameMap;
QMap<QByteArray, QString> mIconNameMap;
};
}