Details
Description
********* Start testing of tst_QDirIterator ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_QDirIterator::initTestCase() PASS : tst_QDirIterator::iterateRelativeDirectory() QDEBUG : tst_QDirIterator::iterateResource(:/) EXPECTED: (":/entrylist") QDEBUG : tst_QDirIterator::iterateResource(:/) ACTUAL: (":/entrylist", ":/trolltech") FAIL! : tst_QDirIterator::iterateResource(:/) Compared QStringLists have different sizes. Actual (list) size : '2' Expected (sortedEntries) size: '1' Loc: [../qdiriterator/tst_qdiriterator.cpp(422)] QDEBUG : tst_QDirIterator::iterateResource(:/ recursive) EXPECTED: (":/entrylist", ":/entrylist/directory", ":/entrylist/directory/dummy", ":/entrylist/file") QDEBUG : tst_QDirIterator::iterateResource(:/ recursive) ACTUAL: (":/entrylist", ":/entrylist/directory", ":/entrylist/directory/dummy", ":/entrylist/file", ":/trolltech", ":/trolltech/qmessagebox", ":/trolltech/qmessagebox/images", ":/trolltech/qmessagebox/images/qtlogo-64.png", ":/trolltech/styles", ":/trolltech/styles/commonstyle", ":/trolltech/styles/commonstyle/images", ":/trolltech/styles/commonstyle/images/cdr-128.png", ":/trolltech/styles/commonstyle/images/cdr-16.png", ":/trolltech/styles/commonstyle/images/cdr-32.png", ":/trolltech/styles/commonstyle/images/computer-16.png", ":/trolltech/styles/commonstyle/images/computer-32.png", ":/trolltech/styles/commonstyle/images/desktop-16.png", ":/trolltech/styles/commonstyle/images/desktop-32.png", ":/trolltech/styles/commonstyle/images/dirclosed-128.png", ":/trolltech/styles/commonstyle/images/dirclosed-16.png", ":/trolltech/styles/commonstyle/images/dirclosed-32.png", ":/trolltech/styles/commonstyle/images/dirlink-128.png", ":/trolltech/styles/commonstyle/images/dirlink-16.png", ":/trolltech/styles/commonstyle/images/dirlink-32.png", ":/trolltech/styles/commonstyle/images/diropen-128.png", ":/trolltech/styles/commonstyle/images/diropen-16.png", ":/trolltech/styles/commonstyle/images/diropen-32.png", ":/trolltech/styles/commonstyle/images/down-128.png", ":/trolltech/styles/commonstyle/images/down-16.png", ":/trolltech/styles/commonstyle/images/down-32.png", ":/trolltech/styles/commonstyle/images/dvd-128.png", ":/trolltech/styles/commonstyle/images/dvd-16.png", ":/trolltech/styles/commonstyle/images/dvd-32.png", ":/trolltech/styles/commonstyle/images/file-128.png", ":/trolltech/styles/commonstyle/images/file-16.png", ":/trolltech/styles/commonstyle/images/file-32.png", ":/trolltech/styles/commonstyle/images/filecontents-128.png", ":/trolltech/styles/commonstyle/images/filecontents-16.png", ":/trolltech/styles/commonstyle/images/filecontents-32.png", ":/trolltech/styles/commonstyle/images/fileinfo-128.png", ":/trolltech/styles/commonstyle/images/fileinfo-16.png", ":/trolltech/styles/commonstyle/images/fileinfo-32.png", ":/trolltech/styles/commonstyle/images/filelink-128.png", ":/trolltech/styles/commonstyle/images/filelink-16.png", ":/trolltech/styles/commonstyle/images/filelink-32.png", ":/trolltech/styles/commonstyle/images/floppy-128.png", ":/trolltech/styles/commonstyle/images/floppy-16.png", ":/trolltech/styles/commonstyle/images/floppy-32.png", ":/trolltech/styles/commonstyle/images/fontbitmap-16.png", ":/trolltech/styles/commonstyle/images/fonttruetype-16.png", ":/trolltech/styles/commonstyle/images/harddrive-128.png", ":/trolltech/styles/commonstyle/images/harddrive-16.png", ":/trolltech/styles/commonstyle/images/harddrive-32.png", ":/trolltech/styles/commonstyle/images/left-128.png", ":/trolltech/styles/commonstyle/images/left-16.png", ":/trolltech/styles/commonstyle/images/left-32.png", ":/trolltech/styles/commonstyle/images/media-pause-16.png", ":/trolltech/styles/commonstyle/images/media-pause-32.png", ":/trolltech/styles/commonstyle/images/media-play-16.png", ":/trolltech/styles/commonstyle/images/media-play-32.png", ":/trolltech/styles/commonstyle/images/media-seek-backward-16.png", ":/trolltech/styles/commonstyle/images/media-seek-backward-32.png", ":/trolltech/styles/commonstyle/images/media-seek-forward-16.png", ":/trolltech/styles/commonstyle/images/media-seek-forward-32.png", ":/trolltech/styles/commonstyle/images/media-skip-backward-16.png", ":/trolltech/styles/commonstyle/images/media-skip-backward-32.png", ":/trolltech/styles/commonstyle/images/media-skip-forward-16.png", ":/trolltech/styles/commonstyle/images/media-skip-forward-32.png", ":/trolltech/styles/commonstyle/images/media-stop-16.png", ":/trolltech/styles/commonstyle/images/media-stop-32.png", ":/trolltech/styles/commonstyle/images/media-volume-16.png", ":/trolltech/styles/commonstyle/images/media-volume-muted-16.png", ":/trolltech/styles/commonstyle/images/networkdrive-128.png", ":/trolltech/styles/commonstyle/images/networkdrive-16.png", ":/trolltech/styles/commonstyle/images/networkdrive-32.png", ":/trolltech/styles/commonstyle/images/newdirectory-128.png", ":/trolltech/styles/commonstyle/images/newdirectory-16.png", ":/trolltech/styles/commonstyle/images/newdirectory-32.png", ":/trolltech/styles/commonstyle/images/parentdir-128.png", ":/trolltech/styles/commonstyle/images/parentdir-16.png", ":/trolltech/styles/commonstyle/images/parentdir-32.png", ":/trolltech/styles/commonstyle/images/refresh-24.png", ":/trolltech/styles/commonstyle/images/refresh-32.png", ":/trolltech/styles/commonstyle/images/right-128.png", ":/trolltech/styles/commonstyle/images/right-16.png", ":/trolltech/styles/commonstyle/images/right-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-apply-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-apply-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-apply-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-cancel-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-cancel-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-cancel-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-clear-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-clear-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-clear-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-close-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-close-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-close-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-closetab-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-closetab-down-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-closetab-hover-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-delete-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-delete-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-delete-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-help-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-help-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-help-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-no-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-no-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-no-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-ok-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-ok-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-ok-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-open-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-open-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-open-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-save-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-save-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-save-32.png", ":/trolltech/styles/commonstyle/images/standardbutton-yes-128.png", ":/trolltech/styles/commonstyle/images/standardbutton-yes-16.png", ":/trolltech/styles/commonstyle/images/standardbutton-yes-32.png", ":/trolltech/styles/commonstyle/images/stop-24.png", ":/trolltech/styles/commonstyle/images/stop-32.png", ":/trolltech/styles/commonstyle/images/trash-128.png", ":/trolltech/styles/commonstyle/images/trash-16.png", ":/trolltech/styles/commonstyle/images/trash-32.png", ":/trolltech/styles/commonstyle/images/up-128.png", ":/trolltech/styles/commonstyle/images/up-16.png", ":/trolltech/styles/commonstyle/images/up-32.png", ":/trolltech/styles/commonstyle/images/viewdetailed-128.png", ":/trolltech/styles/commonstyle/images/viewdetailed-16.png", ":/trolltech/styles/commonstyle/images/viewdetailed-32.png", ":/trolltech/styles/commonstyle/images/viewlist-128.png", ":/trolltech/styles/commonstyle/images/viewlist-16.png", ":/trolltech/styles/commonstyle/images/viewlist-32.png", ":/trolltech/styles/macstyle", ":/trolltech/styles/macstyle/images", ":/trolltech/styles/macstyle/images/closedock-16.png", ":/trolltech/styles/macstyle/images/closedock-down-16.png", ":/trolltech/styles/macstyle/images/dockdock-16.png", ":/trolltech/styles/macstyle/images/dockdock-down-16.png") FAIL! : tst_QDirIterator::iterateResource(:/ recursive) Compared QStringLists have different sizes. Actual (list) size : '142' Expected (sortedEntries) size: '4' Loc: [../qdiriterator/tst_qdiriterator.cpp(422)] PASS : tst_QDirIterator::stopLinkLoop() PASS : tst_QDirIterator::engineWithNoIterator() PASS : tst_QDirIterator::absoluteFilePathsFromRelativeIteratorPath() PASS : tst_QDirIterator::recurseWithFilters() PASS : tst_QDirIterator::longPath() PASS : tst_QDirIterator::task185502_dirorder() PASS : tst_QDirIterator::relativePaths() PASS : tst_QDirIterator::qtbug15421_hiddenDirs_hiddenFiles() PASS : tst_QDirIterator::cleanupTestCase() Totals: 11 passed, 2 failed, 0 skipped ********* Finished testing of tst_QDirIterator *********
This test fails because it includes another directory in the resources called ":trolltech". It is working on qtbase#master but not on qtbase#refactor. Please fix test or class.