Add test case for checking ConnectInBackground is set
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Mon, 16 Apr 2012 13:02:02 +0000 (14:02 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Apr 2012 17:46:07 +0000 (19:46 +0200)
commita6156d1aedaba720fe4618828609dbae931af313
tree7eca8e57f846ce835eabeee0d62a32667835630e
parentaf100dbd7e23076f8873f9ee8847d1ac90bb1700
Add test case for checking ConnectInBackground is set

ConnectInBackground should be set when opening a network session
due to a background request. This test checks that.
Unfortunately, none of the bearer plugins currently in Qt Base support
this attribute, so the test result is inconclusive.
(testing with a debugger shows the attribute is set correctly, but
it can't be read back as the set is discarded by the plugin
implementation)

Change-Id: Idcf777fe489a62d4ff5007ffd291a84ba052311b
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp