D25974: Fix Invalid-enum-value assignment

David Faure noreply at phabricator.kde.org
Mon Dec 23 08:18:56 GMT 2019


dfaure added a comment.


  This change breaks a unittest
  
    ********* Start testing of KEncodingProberTest *********
    Config: Using QtTest library 5.14.0, Qt 5.14.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.4.1 20190905 [gcc-7-branch revision 275407])
    PASS   : KEncodingProberTest::initTestCase()
    PASS   : KEncodingProberTest::testReset()
    FAIL!  : KEncodingProberTest::testProbe() Compared values are not the same
       Actual   (ep->encoding().toLower()): "gb18030"
       Expected (QByteArray("big5"))      : "big5"
       Loc: [/d/kde/src/5/frameworks/kcodecs/autotests/kencodingprobertest.cpp(73)]
    PASS   : KEncodingProberTest::cleanupTestCase()
    Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 4ms

REPOSITORY
  R270 KCodecs

REVISION DETAIL
  https://phabricator.kde.org/D25974

To: aacid, dfaure
Cc: dfaure, security-team, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/145419e8/attachment.html>


More information about the Kde-frameworks-devel mailing list