Commit 9eb8b648 authored by Laurent Montel's avatar Laurent Montel 😁

Start to add autotest

parent ebfe7479
......@@ -263,6 +263,7 @@ add_subdirectory(storageservice/dropbox/icons/)
add_subdirectory(baloodebug/autotests)
add_subdirectory(baloodebug/tests)
add_subdirectory(shorturl/autotests)
add_subdirectory(acl/autotests)
if( LibKGAPI2_FOUND )
add_subdirectory(storageservice/gdrive/tests/)
......
include_directories(
${CMAKE_SOURCE_DIR}/pimcommon
)
set( pimcommon_imapaclattributetest_source imapaclattributetest.cpp ../imapaclattribute.cpp )
kde4_add_unit_test( imapaclattributetest ${pimcommon_imapaclattributetest_source})
target_link_libraries( imapaclattributetest ${QT_QTTEST_LIBRARY} ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_KIMAP_LIBS})
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program 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
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "imapaclattributetest.h"
#include <qtest_kde.h>
ImapAclAttributeTest::ImapAclAttributeTest(QObject *parent)
: QObject(parent)
{
}
ImapAclAttributeTest::~ImapAclAttributeTest()
{
}
QTEST_KDEMAIN(ImapAclAttributeTest, NoGUI)
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program 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
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef IMAPACLATTRIBUTETEST_H
#define IMAPACLATTRIBUTETEST_H
#include <QObject>
class ImapAclAttributeTest : public QObject
{
Q_OBJECT
public:
explicit ImapAclAttributeTest(QObject *parent = 0);
~ImapAclAttributeTest();
};
#endif // IMAPACLATTRIBUTETEST_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