add some more tests to debug what's going wrong

test on ci is failing atm, add some more tests to debug
what's going wrong there

Change-Id: I963e01263e7bd2399eacc7773968423f95decfe3
This commit is contained in:
Marco Martin 2016-05-16 12:45:23 +02:00
parent 1c1c52f425
commit 5405a97a70

View File

@ -73,6 +73,9 @@ void ThemeTest::loadSvgIcon()
iconPath = iconTheme->iconPath(QLatin1String("konversation.svg"), 48, KIconLoader::MatchBest); iconPath = iconTheme->iconPath(QLatin1String("konversation.svg"), 48, KIconLoader::MatchBest);
} }
QVERIFY(iconTheme);
QVERIFY(iconTheme->isValid());
QVERIFY2(QFile::exists(iconPath), qPrintable(iconPath));
m_svg->setImagePath(iconPath); m_svg->setImagePath(iconPath);
QVERIFY(m_svg->isValid()); QVERIFY(m_svg->isValid());