qt5base-lts/tests/auto/gui/image/qicon
Friedemann Kleint 235c1c776a Fix test tst_QIcon::fromThemeCache().
Verify that the temporary directory could be created. Check whether
the gtk-update-icon-cache binary exists before running and skip cleanly.
Check successful execution. Fixes Windows warnings:

SKIP   : tst_QIcon::fromThemeCache() gtk-update-icon-cache not run
.\tst_qicon.cpp(707) : failure location
QWARN  : tst_QIcon::fromThemeCache() QTemporaryDir: Unable to remove "D:\\temp\\tst_qicon-DSSn9G" most likely due to the presence of read-only
files.

Change-Id: Ibc8f883121e62b30d71586bc64b42eb6c480925f
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-03-02 07:14:47 +00:00
..
icons QIconLoader: Use the GTK+ icon caches 2015-09-13 16:23:24 +00:00
second_icons/testtheme/32x32/actions Fixed icons lookup in QIcon::fromTheme 2015-02-02 23:28:19 +00:00
styles/commonstyle/images tst_QIcon: Fix availableSizes() and task223279_inconsistentAddFile() 2013-07-15 16:28:25 +02:00
.gitignore QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
image.png QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
qicon.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
rect.png QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
tst_qicon.cpp Fix test tst_QIcon::fromThemeCache(). 2016-03-02 07:14:47 +00:00
tst_qicon.qrc QIconLoader: Use the GTK+ icon caches 2015-09-13 16:23:24 +00:00