summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/tests/imapserverproxytest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-09-14 11:17:47 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-09-15 16:14:19 +0200
commitca9c54670cc2d26386c80a2aeed2c999313ec362 (patch)
tree71cddc6a175be007aade113b8e19aed0360c7f29 /examples/imapresource/tests/imapserverproxytest.cpp
parent25fdab9836b1fdd248d3d36c00a96740093cd749 (diff)
downloadsink-ca9c54670cc2d26386c80a2aeed2c999313ec362.tar.gz
sink-ca9c54670cc2d26386c80a2aeed2c999313ec362.zip
New kimap2 syntax
Diffstat (limited to 'examples/imapresource/tests/imapserverproxytest.cpp')
-rw-r--r--examples/imapresource/tests/imapserverproxytest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/imapresource/tests/imapserverproxytest.cpp b/examples/imapresource/tests/imapserverproxytest.cpp
index 1bd5982..27d73ea 100644
--- a/examples/imapresource/tests/imapserverproxytest.cpp
+++ b/examples/imapresource/tests/imapserverproxytest.cpp
@@ -59,13 +59,13 @@ private slots:
59 { 59 {
60 ImapServerProxy imap("localhost", 993); 60 ImapServerProxy imap("localhost", 993);
61 VERIFYEXEC(imap.login("doe", "doe")); 61 VERIFYEXEC(imap.login("doe", "doe"));
62 VERIFYEXEC(imap.fetchFolders([](const QVector<Folder> &){})); 62 VERIFYEXEC(imap.fetchFolders([](const Folder &){}));
63 } 63 }
64 64
65 void testFetchFoldersFailure() 65 void testFetchFoldersFailure()
66 { 66 {
67 ImapServerProxy imap("foobar", 993); 67 ImapServerProxy imap("foobar", 993);
68 VERIFYEXEC_FAIL(imap.fetchFolders([](const QVector<Folder> &){})); 68 VERIFYEXEC_FAIL(imap.fetchFolders([](const Folder &){}));
69 } 69 }
70 70
71 void testFetchMail() 71 void testFetchMail()