summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-03-08 13:01:59 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2016-03-10 15:01:09 +0000
commit65f88f3a5ded7fa53f50314434673cdc30977a15 (patch)
tree9dbb1b38a05def5bb4183ef4bed7ba8e5b789693 /tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp
parent6a2892bdef79e9787d8abe7c0121865f049c67f8 (diff)
Deduplicate a condition to make clear that several cases ask it.
QNetworkAccessManager::createRequest() had three checks relevant only to GET and HEAD requests; rather than testing for this in each of the cases, test for it once and skip all three if it fails. Tidied up the residue of conditionals in the process. Change-Id: I7baee8067a03afdc7cb0a77f1a50759dc4233843 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp')
0 files changed, 0 insertions, 0 deletions