qt6-bb10/tests/auto/network
Shane Kearns 299e7ffd6a Fix QNetworkReply ioGetFromHttpWithCache test case
Expiration date is calculated from max-age header when a response is
inserted into the cache. Because the test case is prepopulating the
cache outside of QNAM's control, the expiration date was uninitialised,
causing the test to fail.

This is due to a 2 year old change in QNAM, where max age calculation was
removed from cache retrieval, and more recent changes to QDateTime
where secsTo() returns 0 if one of the arguments is invalid.

Change-Id: Ieecd46123dde4ca0fd0be3ae79e70e1528ec02bc
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
2012-03-06 18:24:01 +01:00
..
access Fix QNetworkReply ioGetFromHttpWithCache test case 2012-03-06 18:24:01 +01:00
bearer Changed qnetworksession unittest to work from installation dir 2012-02-21 01:01:52 +01:00
kernel Merge remote-tracking branch 'origin/api_changes' 2012-03-04 21:45:05 +01:00
socket Merge remote-tracking branch 'origin/api_changes' 2012-03-04 21:45:05 +01:00
ssl QSslCertificate - make lazy initialisation thread safe 2012-03-06 12:25:22 +01:00
network.pro Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00