generated from general-packages/pika-pkg-template
a8e7e301c1
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 12s
47 lines
913 B
C++
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;
|
|
};
|
|
}
|