Commit af64b2bf authored by Laurent Montel's avatar Laurent Montel 😁

Add new autotests

parent bac26a61
......@@ -33,5 +33,6 @@ ecm_add_tests(birthdaytest.cpp
customidentifiertest.cpp
vcardlinetest.cpp
fieldgrouptest.cpp
importexportvcardtest.cpp
NAME_PREFIX "kcontacts-" LINK_LIBRARIES KF5Contacts Qt5::Test KF5::ConfigCore Qt5::Gui)
/*
This file is part of the KContacts framework.
Copyright (c) 2016 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "importexportvcardtest.h"
#include <QTest>
ImportExportVCardTest::ImportExportVCardTest(QObject *parent)
: QObject(parent)
{
}
ImportExportVCardTest::~ImportExportVCardTest()
{
}
QTEST_MAIN(ImportExportVCardTest)
/*
This file is part of the KContacts framework.
Copyright (c) 2016 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef IMPORTEXPORTVCARDTEST_H
#define IMPORTEXPORTVCARDTEST_H
#include <QObject>
class ImportExportVCardTest : public QObject
{
Q_OBJECT
public:
explicit ImportExportVCardTest(QObject *parent = Q_NULLPTR);
~ImportExportVCardTest();
};
#endif // IMPORTEXPORTVCARDTEST_H
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