diff options
author | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2013-06-19 10:16:18 +0200 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2013-06-19 12:17:25 +0200 |
commit | 689592b83cf79e71b7e0e1ecc09845cf45175e17 (patch) | |
tree | 57b60c08c64e281bbea9ff9b58884bc77b6aed36 /tests/auto/enginioclient/tst_enginioclient.cpp | |
parent | 5072313743eb9dd42917959b2133eb0620064fbf (diff) | |
download | qtenginio-689592b83cf79e71b7e0e1ecc09845cf45175e17.tar.gz |
Imporve EnginioFakeReply.
EnginioFakeReply name seems to be better then
EnginioFakedReply.
EnginioFakeReply::bytesAvailable function is not needed
as the reply is not sequential
Fix potential problem of reading not through readAll
function
Diffstat (limited to 'tests/auto/enginioclient/tst_enginioclient.cpp')
-rw-r--r-- | tests/auto/enginioclient/tst_enginioclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/enginioclient/tst_enginioclient.cpp b/tests/auto/enginioclient/tst_enginioclient.cpp index 097b67b..8379e4a 100644 --- a/tests/auto/enginioclient/tst_enginioclient.cpp +++ b/tests/auto/enginioclient/tst_enginioclient.cpp @@ -98,7 +98,7 @@ private slots: void identity(); void identity_invalid(); void identity_afterLogout(); - void fakedBackendReply(); + void backendFakeReply(); void acl(); void sharingNetworkManager(); @@ -1405,7 +1405,7 @@ void tst_EnginioClient::identity_afterLogout() QVERIFY(!spy[1][0].value<QNetworkReply*>()->request().hasRawHeader(headerName)); } -void tst_EnginioClient::fakedBackendReply() +void tst_EnginioClient::backendFakeReply() { EnginioClient client; client.setBackendId(EnginioTests::TESTAPP_ID); |