Commit 74a086ba authored by Sandro Knauß's avatar Sandro Knauß

Make test run with breeze and oxygen icons

parent db5cb449
......@@ -210,6 +210,7 @@ void RenderTest::testRender()
QString content = QString::fromUtf8(f.readAll());
f.close();
content.replace(QRegExp(QStringLiteral("\"file:[^\"]*[/(?:%2F)]([^\"/(?:%2F)]*)\"")), QStringLiteral("\"file:\\1\""));
content.replace(QStringLiteral("image-png.png"), QStringLiteral("image-x-generic.png")); //Make test run with oxygen and breeze icons
QVERIFY(f.open(QIODevice::WriteOnly | QIODevice::Truncate));
f.write(content.toUtf8());
f.close();
......@@ -228,4 +229,4 @@ void RenderTest::testRender()
QCOMPARE(proc.exitCode(), 0);
}
QTEST_MAIN(RenderTest)
\ No newline at end of file
QTEST_MAIN(RenderTest)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment