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

Use not deprecated function

parent 4aa1f143
......@@ -18,7 +18,7 @@
*/
#include <AkonadiCore/item.h>
#include <qtest_kde.h>
#include <qtest.h>
#include <QtCore/QObject>
#include <akonadi_serializer_addressee.h>
......@@ -42,6 +42,6 @@ class AddresseeSerializerTest : public QObject
}
};
QTEST_KDEMAIN( AddresseeSerializerTest, NoGUI )
QTEST_MAIN( AddresseeSerializerTest )
#include "addresseeserializertest.moc"
......@@ -19,7 +19,7 @@
#include <AkonadiCore/item.h>
#include <KCalCore/Event>
#include <qtest_kde.h>
#include <qtest.h>
#include <QtCore/QObject>
using namespace Akonadi;
......@@ -128,6 +128,6 @@ class KCalCoreSerializerTest : public QObject
}
};
QTEST_KDEMAIN( KCalCoreSerializerTest, NoGUI )
QTEST_MAIN( KCalCoreSerializerTest )
#include "kcalcoreserializertest.moc"
......@@ -23,9 +23,9 @@
#include <kmime/kmime_message.h>
#include <boost/shared_ptr.hpp>
#include <QDebug>
#include <qtest_kde.h>
#include <qtest.h>
QTEST_KDEMAIN( MailSerializerPluginTest, NoGUI )
QTEST_MAIN( MailSerializerPluginTest )
using namespace Akonadi;
using namespace KMime;
......
......@@ -23,9 +23,10 @@
#include <Akonadi/KMime/MessageParts>
#include <qtest_kde.h>
#include <qtest.h>
#include <QBuffer>
QTEST_KDEMAIN( MailSerializerTest, NoGUI )
QTEST_MAIN( MailSerializerTest )
void MailSerializerTest::testEnvelopeDeserialize()
{
......
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