D13018: Fix unit test for kfileplacesmodeltest

Elvis Angelaccio noreply at phabricator.kde.org
Mon May 21 20:27:36 UTC 2018


elvisangelaccio added a comment.


  Hmm, still seems to fail here:
  
    $ ctest -R kfileplacesmodeltest
    Test project /home/elvis/dev/kde/kio/local-build
        Start 50: kiofilewidgets-kfileplacesmodeltest
    1/1 Test #50: kiofilewidgets-kfileplacesmodeltest ...***Failed    0.60 sec
    ********* Start testing of KFilePlacesModelTest *********
    Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.1.0)
    QDEBUG : KFilePlacesModelTest::initTestCase() void Solid::Backends::Fake::FakeManager::parseMachineFile() Parsing fake computer XML:  "/home/elvis/dev/kde/kio/autotests/fakecomputer.xml" 
    
    PASS   : KFilePlacesModelTest::initTestCase()
    FAIL!  : KFilePlacesModelTest::testInitialState() Compared values are not the same
       Actual   (m_places->rowCount()): 6
       Expected (4)                   : 4
       Loc: [../autotests/kfileplacesmodeltest.cpp(200)]
    QDEBUG : KFilePlacesModelTest::testInitialList() Expected: ("/home/elvis", "/", "trash:/", "remote:/", "/media/nfs", "/foreign", "/media/floppy0", "/media/XO-Y4", "/media/cdrom")
    QDEBUG : KFilePlacesModelTest::testInitialList() Got: ("/home/elvis", "/home/elvis/Desktop", "/home/elvis/Downloads", "/", "trash:/", "remote:/")
    FAIL!  : KFilePlacesModelTest::testInitialList() Compared lists have different sizes.
       Actual   (placesUrls()) size: 6
       Expected (urls) size: 9
       Loc: [../autotests/kfileplacesmodeltest.cpp(236)]

REPOSITORY
  R241 KIO

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

To: renatoo
Cc: elvisangelaccio, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180521/c21b4a73/attachment.html>


More information about the Kde-frameworks-devel mailing list