Review Request 118400: Manually sort the QStringList for the readEntryFlags test

Martin Steigerwald martin at lichtvoll.de
Thu May 29 16:58:45 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118400/
-----------------------------------------------------------

(Updated May 29, 2014, 3:58 p.m.)


Review request for KDEPIM, KDEPIM-Libraries, Dan Vrátil, and Sergio Luis Martins.


Repository: kdepim-runtime


Description
-------

Manually sort the QStringList for the readEntryFlags test
    
Otherwise the individual test in this testcase may work on the wrong
mails as libmaildir doesn´t sort the entry list anymore.

This is related to the nosorting change from review request 117975.


Diffs
-----

  resources/maildir/libmaildir/tests/testmaildir.cpp 47bc5c99dda020c35ef94c7f319edf2e12e4bf17 

Diff: https://git.reviewboard.kde.org/r/118400/diff/


Testing
-------

The test FlagsReading passes with the fix applied:

martin at merkaba:~/KDE/Dev/kdepim-runtime/build/resources/maildir/libmaildir/tests> ./testmaildir
********* Start testing of MaildirTest *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : MaildirTest::initTestCase()
PASS   : MaildirTest::testMaildirInstantiation()
PASS   : MaildirTest::testMaildirCreation()
PASS   : MaildirTest::testMaildirListing()
PASS   : MaildirTest::testMaildirAccess()
PASS   : MaildirTest::testMaildirReadHeaders()
PASS   : MaildirTest::testMaildirWrite()
PASS   : MaildirTest::testMaildirAppend()
QWARN  : MaildirTest::testMaildirRemoveEntry() Maildir::readEntry unable to find:  "1401378906.R958.merkaba" 
PASS   : MaildirTest::testMaildirRemoveEntry()
PASS   : MaildirTest::testMaildirListSubfolders()
PASS   : MaildirTest::testMaildirCreateSubfolder()
PASS   : MaildirTest::testMaildirRemoveSubfolder()
PASS   : MaildirTest::testMaildirRename()
PASS   : MaildirTest::testMaildirMoveTo()
PASS   : MaildirTest::testMaildirFlagsReading()
PASS   : MaildirTest::testMaildirFlagsWriting()
PASS   : MaildirTest::cleanupTestCase()
Totals: 17 passed, 0 failed, 0 skipped
********* Finished testing of MaildirTest *********

I don´t know about the testMaildirRemoveEntry. Maybe there is also some issue with the sorting...


Thanks,

Martin Steigerwald

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140529/a6f97ced/attachment.html>


More information about the kde-pim mailing list