summaryrefslogtreecommitdiffstats
path: root/tests/mailsynctest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mailsynctest.cpp')
-rw-r--r--tests/mailsynctest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp
index faaf003..953adbf 100644
--- a/tests/mailsynctest.cpp
+++ b/tests/mailsynctest.cpp
@@ -197,6 +197,10 @@ void MailSyncTest::testListFolderHierarchy()
197 QVERIFY(names.contains("Drafts")); 197 QVERIFY(names.contains("Drafts"));
198 names.removeAll("Drafts"); 198 names.removeAll("Drafts");
199 } 199 }
200 if (mCapabilities.contains(ResourceCapabilities::Mail::trash)) {
201 QVERIFY(names.contains("Trash"));
202 names.removeAll("Trash");
203 }
200 QCOMPARE(names.size(), 3); 204 QCOMPARE(names.size(), 3);
201 QCOMPARE(map.value("sub")->getParent(), map.value("test")->identifier()); 205 QCOMPARE(map.value("sub")->getParent(), map.value("test")->identifier());
202 }); 206 });