qt5base-lts/tests/auto/corelib
Samuel Gaist 35a11d6fce OS X QSettings auto test/writing check update
This patch aims to provide an updated test that follows changes started
in 10.7: new rule is that only root can access SystemScope settings. It
also disables the sync() workaround code path which is at least not
executed during the tst_QSettings execution and returns wrong value to
the test.

From Apple's documentation:
"Note that modification of some preferences domains (those not
belonging to the “Current User”) requires root privileges (or Admin
privileges prior to OS X v10.6)—see Authorization Services Programming
Guide for information on how to gain suitable privileges"

https://developer.apple.com/library/mac/documentation/CoreFoundation/Reference/CFPreferencesUtils/Reference/reference.html

[ChangeLog][QtCore][QSettings] QSettings now returns the correct value
for isWritable() when using SystemScope settings.

Task-number: QTBUG-9824
Task-number: QTBUG-21062
Task-number: QTBUG-22745

Change-Id: Ib6a1490ec596b99d189ec4de9a0f28ecfd684172
Reviewed-by: Liang Qi <liang.qi@digia.com>
2014-03-31 12:12:21 +02:00
..
animation tst_qpauseanimation: Fix condition in QEXPECT_FAIL. 2014-01-30 22:10:22 +01:00
codecs Fix compilation after b0afad8f0b 2014-02-07 04:47:12 +01:00
global Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
io OS X QSettings auto test/writing check update 2014-03-31 12:12:21 +02:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
json Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
kernel Fix Q_DECLARE_METATYPE macro 2014-03-17 13:05:07 +01:00
mimetypes test: Don't build qmimedatabase-cache for QNX 2014-01-16 16:11:04 +01:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread Fix tst_qthreadpool under high load. 2014-03-14 22:38:49 +01:00
tools Reuse one QCollator instance for QString::localeAwareCompare 2014-03-27 07:31:01 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00