aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 08:16:39 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 08:16:39 +0000
commit984ce932b460c86a6c5bbb96962b9f99c845fa25 (patch)
treedcdcd228ac354d1772ac6b74bef6d3a15f1addeb /tests/tests.cpp
parent4bea8072aa0e21c0fce2c56e87a5e06cd71d7bd0 (diff)
downloadqxmpp-984ce932b460c86a6c5bbb96962b9f99c845fa25.tar.gz
fix tests
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index b37d72ee..d433954b 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -28,7 +28,7 @@
#include <QVariant>
#include <QtTest/QtTest>
-#include "QXmppBind.h"
+#include "QXmppBindIq.h"
#include "QXmppJingleIq.h"
#include "QXmppMessage.h"
#include "QXmppNonSASLAuth.h"
@@ -108,7 +108,7 @@ void TestPackets::testBindNoResource()
"<bind xmlns=\"urn:ietf:params:xml:ns:xmpp-bind\"/>"
"</iq>");
- QXmppBind bind;
+ QXmppBindIq bind;
parsePacket(bind, xml);
QCOMPARE(bind.type(), QXmppIq::Set);
QCOMPARE(bind.id(), QString("bind_1"));
@@ -126,7 +126,7 @@ void TestPackets::testBindResource()
"</bind>"
"</iq>");
- QXmppBind bind;
+ QXmppBindIq bind;
parsePacket(bind, xml);
QCOMPARE(bind.type(), QXmppIq::Set);
QCOMPARE(bind.id(), QString("bind_2"));
@@ -144,7 +144,7 @@ void TestPackets::testBindResult()
"</bind>"
"</iq>");
- QXmppBind bind;
+ QXmppBindIq bind;
parsePacket(bind, xml);
QCOMPARE(bind.type(), QXmppIq::Result);
QCOMPARE(bind.id(), QString("bind_2"));