DevHeads.net

Postings by Christian =?ISO-8859-1?Q?D=E1vid?=

UI tests on build.kde.org

Hi,

is it possible to have UI tests on build.kde.org? If not what is the best
practice to prevent them from being executed?

The reason I asking is the error
<a href="https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/239/" title="https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/239/">https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/239/</a>
testReport/junit/(root)/TestSuite/reports_chart_test/
more details in
<a href="https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/239/" title="https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/239/">https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/239/</a>
console

The tests was reported to work on other computers by two developers.

Best
Christian

File dialog filters

Hi,

I noticed that in KMyMoney the filter strings for file dialogs are created "by
hand", e.g. i18n("C++ sources (*.cpp *.cxx *.c++);;All files (*)"). So each of
them must be translated. Alternatively something like

QMimeDatabase db;
db.mimeTypeForName("text/x-c++src").filterString()

could be used to create these string lowering the burden on the translators
and resulting in consistent translations for all mimetypes.

Do we have a policy regarding this? Are there any drawbacks?