qt5base-lts/tests/auto
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
..
android Android: Fix missing data from some autotests 2014-03-27 15:17:24 +01:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Increase CI timeout for cmake tests. 2014-03-06 17:22:55 +01:00
compilerwarnings/data
concurrent QtConcurrent: Workaround GCC bug 58800 in median calculation 2013-12-03 11:45:18 +01:00
corelib OS X QSettings auto test/writing check update 2014-03-31 12:12:21 +02:00
dbus tests: Mark tst_qdbus* tests as insignificant on OS X 2014-03-13 13:25:49 +01:00
gui QEvent: document and check when registerEventTypes() returns -1 2014-03-29 12:40:05 +01:00
guiapplauncher
installed_cmake
network Polish tst_qsslsocket a bit. 2014-03-26 07:22:35 +01:00
opengl Resurrect advanced bindTexture() features in QtOpenGL 2014-03-20 14:11:33 +01:00
other tst_qaccessibility: Introduce QTRY_VERIFY to menuTest(). 2014-03-28 22:52:19 +01:00
printsupport QPrinter - Expect failure of QPrinter page size test 2014-03-17 13:46:29 +01:00
shared iOS: Fix compilation of some basic tests 2014-01-17 11:04:43 +01:00
sql [QtSql]QIBASE]add support for prepared queries in numRowsAffected 2014-03-29 08:46:00 +01:00
testlib Make the printing of complex Unicode in a QString prettier 2014-02-16 06:54:18 +01:00
tools Remove qSort usages from tests 2014-02-20 08:10:06 +01:00
widgets tst_qgraphicsproxywidget: Fix hang in actionsContextMenu(). 2014-03-28 22:52:19 +01:00
xml expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
auto.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00
network-settings.h network test settings: support newer FTP server versions 2013-08-28 12:45:34 +02:00
qtest-config.h
test.pl