diff options
| author | Jonah BrĂ¼chert <jbb.prv@gmx.de> | 2019-10-19 17:23:08 +0200 |
|---|---|---|
| committer | LNJ <lnj@kaidan.im> | 2019-10-22 15:32:25 +0200 |
| commit | 876c924cde7b8fe129d0f3e1b76cf0a2de9fb856 (patch) | |
| tree | c0a8816bf3fbff9fe1c6efd229dad5897cbdf61b /tests/qxmppstanza/tst_qxmppstanza.cpp | |
| parent | 70dfa23900a3905285435a10fdaa97462a67016f (diff) | |
| download | qxmpp-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.cpp | 4 |
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") |
