diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-23 16:22:55 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-23 16:22:55 +0100 |
commit | 396eba363b22c2c1c939c60ffa1e14fe2f4506fa (patch) | |
tree | 6a365359afff0650520514df411380c4da939898 /examples/imapresource | |
parent | bc2d8798e70f0667baa8598b58d9873aeb55a507 (diff) | |
download | sink-396eba363b22c2c1c939c60ffa1e14fe2f4506fa.tar.gz sink-396eba363b22c2c1c939c60ffa1e14fe2f4506fa.zip |
Check for errors
Diffstat (limited to 'examples/imapresource')
-rw-r--r-- | examples/imapresource/tests/imapmailsynctest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/imapresource/tests/imapmailsynctest.cpp b/examples/imapresource/tests/imapmailsynctest.cpp index f20a77e..23bb4e5 100644 --- a/examples/imapresource/tests/imapmailsynctest.cpp +++ b/examples/imapresource/tests/imapmailsynctest.cpp | |||
@@ -95,8 +95,8 @@ protected: | |||
95 | QByteArray createMessage(const QStringList &folderPath, const QByteArray &message) Q_DECL_OVERRIDE | 95 | QByteArray createMessage(const QStringList &folderPath, const QByteArray &message) Q_DECL_OVERRIDE |
96 | { | 96 | { |
97 | Imap::ImapServerProxy imap("localhost", 993); | 97 | Imap::ImapServerProxy imap("localhost", 993); |
98 | imap.login("doe", "doe").exec().waitForFinished(); | 98 | VERIFYEXEC_RET(imap.login("doe", "doe"), {}); |
99 | imap.append("INBOX." + folderPath.join('.'), message).exec().waitForFinished(); | 99 | VERIFYEXEC_RET(imap.append("INBOX." + folderPath.join('.'), message), {}); |
100 | return "2:*"; | 100 | return "2:*"; |
101 | } | 101 | } |
102 | 102 | ||