summaryrefslogtreecommitdiff
path: root/kimap/tests/kimaptest/fakeserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kimap/tests/kimaptest/fakeserver.cpp')
-rw-r--r--kimap/tests/kimaptest/fakeserver.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/kimap/tests/kimaptest/fakeserver.cpp b/kimap/tests/kimaptest/fakeserver.cpp
index 816f80f..24ce7cc 100644
--- a/kimap/tests/kimaptest/fakeserver.cpp
+++ b/kimap/tests/kimaptest/fakeserver.cpp
@@ -24,12 +24,11 @@
// Qt
#include <QDebug>
+#include <QFile>
+#include <QTest>
#include <QTcpServer>
// KDE
-#include <KDebug>
-#include <qtest_kde.h>
-
#include "kimap/imapstreamparser.h"
QByteArray FakeServer::preauth()
@@ -93,7 +92,7 @@ void FakeServer::run()
{
m_tcpServer = new QTcpServer();
if ( !m_tcpServer->listen( QHostAddress( QHostAddress::LocalHost ), 5989 ) ) {
- kFatal() << "Unable to start the server";
+ qFatal("Unable to start the server");
}
connect(m_tcpServer, SIGNAL(newConnection()), this, SLOT(newConnection()));