qt6-bb10/tests/auto/corelib/kernel
Tor Arne Vestbø fd7e00aff5 Don't truncate QDateTime milliseconds when storing QSettings on Apple platforms
The fix is trivial, but the patch adds a new QSettings tests that iterates most
of the QMetaTypes and verifies that storing and retrieving them again gives the
same value. This is a more complete test than the testVariantTypes tests, which
is limited to a subset of the QVariant types. The new tests borrows logic from
the QMetaType test machinery.

QSettings has been Q_ENUM'ified in the process, for improved debug output.

Note that on backends such as the INI backend, the metatype of the QVariant read
from the settings will be a string, so it won't match the input QVariant type,
but the result of converting that to the original value type should still work.

Task-number: QTBUG-56124
Change-Id: Ib03a26abf77c9fb449b94160d28bc4baeb095f25
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
2016-10-05 18:45:04 +00:00
..
qcoreapplication Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qdeadlinetimer Long live QDeadlineTimer 2016-08-15 03:07:16 +00:00
qelapsedtimer Move QElapsedTimer to src/corelib/kernel 2016-07-02 07:51:45 +00:00
qeventdispatcher Updated license headers 2016-01-21 18:55:18 +00:00
qeventloop Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qmath Updated license headers 2016-01-21 18:55:18 +00:00
qmetaenum Updated license headers 2016-01-21 18:55:18 +00:00
qmetamethod Updated license headers 2016-01-21 18:55:18 +00:00
qmetaobject Add a function to QMetaObject to check for inheritance 2016-03-15 16:36:22 +00:00
qmetaobjectbuilder Updated license headers 2016-01-21 18:55:18 +00:00
qmetaproperty Updated license headers 2016-01-21 18:55:18 +00:00
qmetatype Don't truncate QDateTime milliseconds when storing QSettings on Apple platforms 2016-10-05 18:45:04 +00:00
qmimedata Updated license headers 2016-01-21 18:55:18 +00:00
qobject Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-29 00:38:01 +02:00
qpointer Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
qsharedmemory QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qsignalblocker Updated license headers 2016-01-21 18:55:18 +00:00
qsignalmapper Updated license headers 2016-01-21 18:55:18 +00:00
qsocketnotifier Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qsystemsemaphore Updated license headers 2016-01-21 18:55:18 +00:00
qtimer QTimer: add support for <chrono> functions 2016-07-09 02:17:17 +00:00
qtranslator Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qvariant Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qwineventnotifier Updated license headers 2016-01-21 18:55:18 +00:00
kernel.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00