From 95795726ade8071fea23dee83b6a6c5a9c122fee Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sat, 31 Jul 2021 12:49:59 +0200 Subject: tests: util: Allow using ' instead of " in xml serializePacket now accepts both `'` and `"`. --- tests/qxmppmessage/tst_qxmppmessage.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/qxmppmessage/tst_qxmppmessage.cpp') diff --git a/tests/qxmppmessage/tst_qxmppmessage.cpp b/tests/qxmppmessage/tst_qxmppmessage.cpp index 93ab7722..3b9f4208 100644 --- a/tests/qxmppmessage/tst_qxmppmessage.cpp +++ b/tests/qxmppmessage/tst_qxmppmessage.cpp @@ -221,7 +221,7 @@ void tst_QXmppMessage::testMessageReceipt() { const QByteArray xml( "" - "My lord, dispatch; read o'er these articles." + "My lord, dispatch; read o'er these articles." "" ""); @@ -469,7 +469,7 @@ void tst_QXmppMessage::testSubextensions() "id=\"8a54s\" " "to=\"romeo@montague.lit/orchard\" " "type=\"chat\">" - "What man art thou that thus bescreen'd in night so stumblest on my counsel?" + "What man art thou that thus bescreen'd in night so stumblest on my counsel?" "" "" "" @@ -491,7 +491,7 @@ void tst_QXmppMessage::testChatMarkers() "id='message-1' " "to='ingrichard@royalty.england.lit/throne'>" "sleeping" - "My lord, dispatch; read o'er these articles." + "My lord, dispatch; read o'er these articles." "" ""); @@ -673,7 +673,7 @@ void tst_QXmppMessage::testPrivateMessage() { const QByteArray xml = QByteArrayLiteral( "" - "My lord, dispatch; read o'er these articles." + "My lord, dispatch; read o'er these articles." "" ""); @@ -758,7 +758,7 @@ void tst_QXmppMessage::testMix() "" - "Harpier cries: 'tis time, 'tis time." + "Harpier cries: 'tis time, 'tis time." "" "hag66@shakespeare.example" "thirdwitch" @@ -783,7 +783,7 @@ void tst_QXmppMessage::testEme() // test standard encryption: OMEMO const QByteArray xmlOmemo( "" - "This message is encrypted with OMEMO, but your client doesn't seem to support that." + "This message is encrypted with OMEMO, but your client doesn't seem to support that." "" ""); @@ -797,7 +797,7 @@ void tst_QXmppMessage::testEme() // test custom encryption const QByteArray xmlCustom( "" - "This message is encrypted with CustomCrypt, but your client doesn't seem to support that." + "This message is encrypted with CustomCrypt, but your client doesn't seem to support that." "" ""); @@ -867,7 +867,7 @@ void tst_QXmppMessage::testProcessingHints() "" - "V unir avtug'f pybnx gb uvqr zr sebz gurve fvtug" + "V unir avtug'f pybnx gb uvqr zr sebz gurve fvtug" "" "" "" -- cgit v1.2.3