Commit b299d7b8 authored by Sandro Knauß's avatar Sandro Knauß

fix tests on CI (hopefully).

use breeze icon theme ( cause we can't expect oxygen to be available).
parent ee05dd4a
......@@ -18,7 +18,7 @@
<table cellpadding="3" cellspacing="1">
<tr>
<td align="right" valign="top" width="30%" rowspan="3">
<img src="file:user-identity.png" width="100" vspace="1"/>
<img src="file:user-identity.svg" width="100" vspace="1"/>
</td>
<td colspan="2" align="left" width="70%">
<font size="+2">
......
......@@ -20,7 +20,7 @@
<tr class="textAtmB">
<td>
<div>
<a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
<a href="file:AUTHORS"><img src="file:application-octet-stream.svg" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
</div>
<br/>
</td>
......
......@@ -20,11 +20,11 @@
<tr class="textAtmB">
<td>
<div>
<a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
<a href="file:AUTHORS"><img src="file:application-octet-stream.svg" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
</div>
<br/>
<div>
<a href="file:README"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>README file for tnef</a>
<a href="file:README"><img src="file:application-octet-stream.svg" border="0" style="max-width: 100%"/>README file for tnef</a>
</div>
<br/>
</td>
......
......@@ -36,8 +36,13 @@
#ifndef Q_OS_WIN
void initLocale()
{
setenv("KDEHOME", QFile::encodeName(QDir::homePath() + QString::fromLatin1(
"/.qttest")).constData(), 1);
setenv("LC_ALL", "en_US.utf-8", 1);
setenv("TZ", "UTC", 1);
QStandardPaths::setTestModeEnabled(true);
QIcon::setThemeName(QStringLiteral("breeze"));
QLocale::setDefault(QLocale(QStringLiteral("en_US")));
}
Q_CONSTRUCTOR_FUNCTION(initLocale)
......@@ -66,8 +71,6 @@ void RenderTest::testRender()
QFETCH(QString, referenceFileName);
QFETCH(QString, outFileName);
QIcon::setThemeName(QStringLiteral("oxygen"));
// load input mail
QFile mailFile(mailFileName);
QVERIFY(mailFile.open(QIODevice::ReadOnly));
......
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