299e7ffd6a
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> |
||
---|---|---|
.. | ||
qabstractnetworkcache | ||
qftp | ||
qhttpnetworkconnection | ||
qhttpnetworkreply | ||
qnetworkaccessmanager | ||
qnetworkcachemetadata | ||
qnetworkcookie | ||
qnetworkcookiejar | ||
qnetworkdiskcache | ||
qnetworkreply | ||
qnetworkrequest | ||
access.pro |