diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2023-04-20 15:36:04 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-04-25 16:53:00 +0200 |
commit | d3a624fb26b1f459776eca280862cb4b4543e39a (patch) | |
tree | 1d1eb9fb8bd171eabd531934d0a25c409a6e61ec /tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp | |
parent | fd63ac9f26938d45f490a9cfb0d608d80fb78af3 (diff) |
XHR sendPropfind_data(): split some long lines
Use string concatenation for the long test names.
Split data rows are more << markers.
Change-Id: I502bcc615a53169a4175a09af08ae5f2c3133668
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp')
-rw-r--r-- | tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp b/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp index 1a6ff59ae2..2bb068c5b7 100644 --- a/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp +++ b/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp @@ -1338,14 +1338,17 @@ void tst_qqmlxmlhttprequest::sendPropfind_data() QTest::addColumn<QString>("replyHeader"); QTest::addColumn<QString>("replyBody"); - QTest::newRow("Send PROPFIND for file (bigbox, author, DingALing, Random properties). Get response with responseXML.") + QTest::newRow("Send PROPFIND for file (bigbox, author, DingALing, Random properties). " + "Get response with responseXML.") << "sendPropfind.responseXML.qml" << "/file" << "propfind.file.expect" << "propfind.file.reply.header" << "propfind.file.reply.body"; - QTest::newRow("Send PROPFIND for file (bigbox, author, DingALing, Random properties). Get response with response.") + QTest::newRow("Send PROPFIND for file (bigbox, author, DingALing, Random properties). " + "Get response with response.") << "sendPropfind.response.qml" << "/file" << "propfind.file.expect" << "propfind.file.reply.header" << "propfind.file.reply.body"; QTest::newRow("Send PROPFIND \"allprop\" request for collection.") - << "sendPropfind.collection.allprop.qml" << "/container/" << "propfind.collection.allprop.expect" + << "sendPropfind.collection.allprop.qml" << "/container/" + << "propfind.collection.allprop.expect" << "propfind.file.reply.header" << "propfind.collection.allprop.reply.body"; } |