From f9379318d801df204cc50385c5eca1f28e91755e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 30 Jun 2016 17:31:33 +0200 Subject: Maildir trash support --- tests/mailsynctest.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp index ff56030..e70e34e 100644 --- a/tests/mailsynctest.cpp +++ b/tests/mailsynctest.cpp @@ -104,6 +104,11 @@ void MailSyncTest::testListFolders() names.removeAll("Drafts"); QVERIFY(specialPurposeFolders.contains("drafts")); } + if (mCapabilities.contains(ResourceCapabilities::Mail::trash)) { + QVERIFY(names.contains("Trash")); + names.removeAll("Trash"); + QVERIFY(specialPurposeFolders.contains("trash")); + } QCOMPARE(names.size(), 2); QVERIFY(names.contains("INBOX")); QVERIFY(names.contains("test")); -- cgit v1.2.3