qt5base-lts/tests/auto
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
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Complete split of QtConcurrent. 2012-02-06 16:48:22 +01:00
corelib QMimeDatabase: Fix crash on empty filename 2012-03-06 12:10:42 +01:00
dbus Avoid using internal testlib API in QDbusConnection autotest. 2012-03-05 03:44:01 +01:00
gui Stabilize tst_QShortcut 2012-03-06 01:34:53 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Fix QNetworkReply ioGetFromHttpWithCache test case 2012-03-06 18:24:01 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Stabilize tst_QAccessibility::actionTest 2012-03-06 01:34:50 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql restore previously non-working disabled test 2012-02-28 07:29:00 +01:00
testlib testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY. 2012-03-05 05:32:03 +01:00
tools remove injection of default_pre in infile()/$$fromfile() 2012-03-05 14:46:12 +01:00
widgets Stabilize tst_QCalendarWidget::buttonClickCheck 2012-03-06 01:34:55 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Disable 'check' target generation for network autotests for Windows. 2012-02-17 11:48:08 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00