Commit 9d6669e8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/release/20.12'

parents 351c1480 190d60d6
Pipeline #44057 passed with stage
in 16 minutes and 4 seconds
......@@ -13,3 +13,4 @@ endmacro()
add_pimcommon_autocorrect_unittest(autocorrectiontest.cpp)
add_pimcommon_autocorrect_unittest(lineeditwithautocorrectiontest.cpp)
add_pimcommon_autocorrect_unittest(richtexteditwithautocorrectiontest.cpp)
add_pimcommon_autocorrect_unittest(importkmailautocorrectiontest.cpp)
/*
SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "importkmailautocorrectiontest.h"
#include "autocorrection/import/importkmailautocorrection.h"
#include <QTest>
QTEST_MAIN(ImportKMailAutocorrectionTest)
ImportKMailAutocorrectionTest::ImportKMailAutocorrectionTest(QObject *parent)
: QObject(parent)
{
}
void ImportKMailAutocorrectionTest::shouldHaveDefaultValues()
{
PimCommon::ImportKMailAutocorrection import;
//TODO
}
/*
SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef IMPORTKMAILAUTOCORRECTIONTEST_H
#define IMPORTKMAILAUTOCORRECTIONTEST_H
#include <QObject>
class ImportKMailAutocorrectionTest : public QObject
{
Q_OBJECT
public:
explicit ImportKMailAutocorrectionTest(QObject *parent = nullptr);
~ImportKMailAutocorrectionTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
#endif // IMPORTKMAILAUTOCORRECTIONTEST_H
......@@ -8,9 +8,9 @@
#define IMPORTKMAILAUTOCORRECTION_H
#include "importabstractautocorrection.h"
#include "pimcommon_private_export.h"
namespace PimCommon {
class ImportKMailAutocorrection : public ImportAbstractAutocorrection
class PIMCOMMON_TESTS_EXPORT ImportKMailAutocorrection : public ImportAbstractAutocorrection
{
public:
explicit ImportKMailAutocorrection(QWidget *parent = nullptr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment