From 4e6d4908fdf5168fbd0ad4025f00a8d133622b4d Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 12 Aug 2010 07:55:43 +0000 Subject: start refactoring and testing non-SASL auth --- tests/tests.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/tests.cpp') diff --git a/tests/tests.cpp b/tests/tests.cpp index a838020a..14c05890 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -31,6 +31,7 @@ #include "QXmppBind.h" #include "QXmppJingleIq.h" #include "QXmppMessage.h" +#include "QXmppNonSASLAuth.h" #include "QXmppPresence.h" #include "QXmppRpcIq.h" #include "QXmppSession.h" @@ -183,6 +184,18 @@ void TestPackets::testMessageLegacyDelay() serializePacket(message, xml); } +void TestPackets::testNonSaslAuth() +{ + const QByteArray xml( + "" + "" + ""); + + QXmppNonSASLAuthIq iq; + parsePacket(iq, xml); + serializePacket(iq, xml); +} + void TestPackets::testPresence() { const QByteArray xml( -- cgit v1.2.3