mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
what icon theme is installed in AppVeyor enrvironment?
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bc820a172f
commit
60d39b493c
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <qfileiconprovider.h>
|
||||
#include <qfileinfo.h>
|
||||
#include <qdir.h>
|
||||
#include <qdebug.h>
|
||||
|
||||
Q_DECLARE_METATYPE(QFileIconProvider::IconType)
|
||||
Q_DECLARE_METATYPE(QFileInfo)
|
||||
|
@ -76,6 +77,7 @@ void tst_QFileIconProvider::iconType()
|
|||
QFETCH(QFileIconProvider::IconType, type);
|
||||
|
||||
const QString icontheme = QIcon::themeName();
|
||||
qDebug() << Q_FUNC_INFO << icontheme;
|
||||
if (icontheme.isEmpty() || icontheme == QLatin1String("hicolor")) {
|
||||
QSKIP("This test requires system icon theme", SkipAll);
|
||||
}
|
||||
|
@ -102,6 +104,7 @@ void tst_QFileIconProvider::iconInfo()
|
|||
QFETCH(bool, setPath);
|
||||
|
||||
const QString icontheme = QIcon::themeName();
|
||||
qDebug() << Q_FUNC_INFO << icontheme;
|
||||
if (icontheme.isEmpty() || icontheme == QLatin1String("hicolor")) {
|
||||
QSKIP("This test requires system icon theme", SkipAll);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue