Fix frameworksintegration tests

Àlex Fiestas afiestas at kde.org
Thu Dec 19 11:53:13 UTC 2013


On Thursday 19 December 2013 00:20:25 Alex Merry wrote:
> Fix the kdeplatformplugin_unittest, which fails on Jenkins.
> 
> The old code would attempt to cast a QVariant containing a QStringList
> to a QString, and check it was empty.  This value was never meant to be
> empty, but the test happened to succeed most of the time, because the
> case fails for multiple-element stringlists (returning an empty string).
>  This is not the case on Jenkins, however.
> 
> Attached patch does something a bit saner.
> 
> Alex

Ship it!


More information about the Kde-frameworks-devel mailing list