Failing KTextEditor unit tests

Dominik Haumann dhaumann at kde.org
Mon Dec 4 16:32:28 UTC 2017


Hi frameworks-devs,

since some time we have several unit tests that fail in the
KTextEditor framework:
https://build.kde.org/job/Frameworks%20ktexteditor%20kf5-qt5%20SUSEQt5.10/11/testReport/

It sesms all these issues are related to changes in the font, could that be?
It even seems that asking for a fixed font that used to work does not
work anymore:

    QFont fixedWidthFont("Monospace");
    fixedWidthFont.setStyleHint(QFont::TypeWriter);
    Q_ASSERT_X(QFontInfo(fixedWidthFont).fixedPitch(), "we hit this assert!");

Is there anything we can do to get this working again?
Or do we need to fix the unit tests (which do work on my local machine!) ?

Greetings
Dominik


More information about the KWrite-Devel mailing list