aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmppstanza/tst_qxmppstanza.cpp
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb.prv@gmx.de>2019-10-19 17:23:08 +0200
committerLNJ <lnj@kaidan.im>2019-10-22 15:32:25 +0200
commit876c924cde7b8fe129d0f3e1b76cf0a2de9fb856 (patch)
treec0a8816bf3fbff9fe1c6efd229dad5897cbdf61b /tests/qxmppstanza/tst_qxmppstanza.cpp
parent70dfa23900a3905285435a10fdaa97462a67016f (diff)
downloadqxmpp-876c924cde7b8fe129d0f3e1b76cf0a2de9fb856.tar.gz
Use raw literals, range based loops and auto
Diffstat (limited to 'tests/qxmppstanza/tst_qxmppstanza.cpp')
-rw-r--r--tests/qxmppstanza/tst_qxmppstanza.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qxmppstanza/tst_qxmppstanza.cpp b/tests/qxmppstanza/tst_qxmppstanza.cpp
index 22878557..807a9c03 100644
--- a/tests/qxmppstanza/tst_qxmppstanza.cpp
+++ b/tests/qxmppstanza/tst_qxmppstanza.cpp
@@ -46,14 +46,14 @@ void tst_QXmppStanza::testExtendedAddress_data()
QTest::addColumn<QString>("type");
QTest::newRow("simple")
- << QByteArray("<address jid=\"foo@example.com/QXmpp\" type=\"bcc\"/>")
+ << QByteArray(R"(<address jid="foo@example.com/QXmpp" type="bcc"/>)")
<< false
<< QString()
<< QString("foo@example.com/QXmpp")
<< QString("bcc");
QTest::newRow("full")
- << QByteArray("<address delivered=\"true\" desc=\"some description\" jid=\"foo@example.com/QXmpp\" type=\"bcc\"/>")
+ << QByteArray(R"(<address delivered="true" desc="some description" jid="foo@example.com/QXmpp" type="bcc"/>)")
<< true
<< QString("some description")
<< QString("foo@example.com/QXmpp")