diff options
Diffstat (limited to 'tests/qxmppmixitems')
| -rw-r--r-- | tests/qxmppmixitems/tst_qxmppmixitems.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/qxmppmixitems/tst_qxmppmixitems.cpp b/tests/qxmppmixitems/tst_qxmppmixitems.cpp index 9affbbbf..9eedee9a 100644 --- a/tests/qxmppmixitems/tst_qxmppmixitems.cpp +++ b/tests/qxmppmixitems/tst_qxmppmixitems.cpp @@ -73,7 +73,7 @@ void tst_QXmppMixItem::testIsInfoItem() "</field>" "</x>" "</item>"); - QCOMPARE(doc.setContent(xmlCorrect, true), true); + QVERIFY(doc.setContent(xmlCorrect, true)); element = doc.documentElement(); QVERIFY(QXmppMixInfoItem::isItem(element)); @@ -85,7 +85,7 @@ void tst_QXmppMixItem::testIsInfoItem() "</field>" "</x>" "</item>"); - QCOMPARE(doc.setContent(xmlWrong, true), true); + QVERIFY(doc.setContent(xmlWrong, true)); element = doc.documentElement(); QVERIFY(!QXmppMixInfoItem::isItem(element)); } @@ -125,7 +125,7 @@ void tst_QXmppMixItem::testIsParticipantItem() "<participant xmlns=\"urn:xmpp:mix:core:1\">" "</participant>" "</item>"); - QCOMPARE(doc.setContent(xmlCorrect, true), true); + QVERIFY(doc.setContent(xmlCorrect, true)); element = doc.documentElement(); QVERIFY(QXmppMixParticipantItem::isItem(element)); @@ -134,7 +134,7 @@ void tst_QXmppMixItem::testIsParticipantItem() "<participant xmlns=\"other:namespace:1\">" "</participant>" "</item>"); - QCOMPARE(doc.setContent(xmlWrong, true), true); + QVERIFY(doc.setContent(xmlWrong, true)); element = doc.documentElement(); QVERIFY(!QXmppMixParticipantItem::isItem(element)); } |
