Fix frameworksintegration tests

Alex Merry kde at randomguy3.me.uk
Thu Dec 19 00:20:25 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeplatformtheme-fix-test.diff
Type: text/x-patch
Size: 1811 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131219/bc96ac70/attachment.diff>


More information about the Kde-frameworks-devel mailing list