diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-23 08:16:39 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-23 08:16:39 +0000 |
| commit | 984ce932b460c86a6c5bbb96962b9f99c845fa25 (patch) | |
| tree | dcdcd228ac354d1772ac6b74bef6d3a15f1addeb /tests/tests.cpp | |
| parent | 4bea8072aa0e21c0fce2c56e87a5e06cd71d7bd0 (diff) | |
| download | qxmpp-984ce932b460c86a6c5bbb96962b9f99c845fa25.tar.gz | |
fix tests
Diffstat (limited to 'tests/tests.cpp')
| -rw-r--r-- | tests/tests.cpp | 8 |
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")); |
