diff options
Diffstat (limited to 'examples/mailtransportresource')
-rw-r--r-- | examples/mailtransportresource/mailtransport.cpp | 2 | ||||
-rw-r--r-- | examples/mailtransportresource/mailtransportresource.cpp | 2 | ||||
-rw-r--r-- | examples/mailtransportresource/tests/mailtransporttest.cpp | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/examples/mailtransportresource/mailtransport.cpp b/examples/mailtransportresource/mailtransport.cpp index 84c1556..afe0257 100644 --- a/examples/mailtransportresource/mailtransport.cpp +++ b/examples/mailtransportresource/mailtransport.cpp | |||
@@ -23,8 +23,6 @@ | |||
23 | #include <QDebug> | 23 | #include <QDebug> |
24 | #include <common/log.h> | 24 | #include <common/log.h> |
25 | 25 | ||
26 | SINK_DEBUG_AREA("mailtransport") | ||
27 | |||
28 | extern "C" { | 26 | extern "C" { |
29 | 27 | ||
30 | #include <stdio.h> | 28 | #include <stdio.h> |
diff --git a/examples/mailtransportresource/mailtransportresource.cpp b/examples/mailtransportresource/mailtransportresource.cpp index c73219f..3d6f8e4 100644 --- a/examples/mailtransportresource/mailtransportresource.cpp +++ b/examples/mailtransportresource/mailtransportresource.cpp | |||
@@ -39,8 +39,6 @@ | |||
39 | 39 | ||
40 | #define ENTITY_TYPE_MAIL "mail" | 40 | #define ENTITY_TYPE_MAIL "mail" |
41 | 41 | ||
42 | SINK_DEBUG_AREA("mailtransportresource") | ||
43 | |||
44 | using namespace Sink; | 42 | using namespace Sink; |
45 | 43 | ||
46 | class MailtransportPreprocessor : public Sink::Preprocessor | 44 | class MailtransportPreprocessor : public Sink::Preprocessor |
diff --git a/examples/mailtransportresource/tests/mailtransporttest.cpp b/examples/mailtransportresource/tests/mailtransporttest.cpp index e4cc447..2a831ed 100644 --- a/examples/mailtransportresource/tests/mailtransporttest.cpp +++ b/examples/mailtransportresource/tests/mailtransporttest.cpp | |||
@@ -64,7 +64,7 @@ private slots: | |||
64 | message->assemble(); | 64 | message->assemble(); |
65 | 65 | ||
66 | auto mail = ApplicationDomain::Mail::create(mResourceInstanceIdentifier); | 66 | auto mail = ApplicationDomain::Mail::create(mResourceInstanceIdentifier); |
67 | mail.setMimeMessage(message->encodedContent()); | 67 | mail.setMimeMessage(message->encodedContent(true)); |
68 | 68 | ||
69 | VERIFYEXEC(Store::create(mail)); | 69 | VERIFYEXEC(Store::create(mail)); |
70 | VERIFYEXEC(ResourceControl::flushMessageQueue(QByteArrayList() << mResourceInstanceIdentifier)); | 70 | VERIFYEXEC(ResourceControl::flushMessageQueue(QByteArrayList() << mResourceInstanceIdentifier)); |
@@ -92,7 +92,7 @@ private slots: | |||
92 | message->assemble(); | 92 | message->assemble(); |
93 | 93 | ||
94 | auto mail = ApplicationDomain::Mail::create(mResourceInstanceIdentifier); | 94 | auto mail = ApplicationDomain::Mail::create(mResourceInstanceIdentifier); |
95 | mail.setMimeMessage(message->encodedContent()); | 95 | mail.setMimeMessage(message->encodedContent(true)); |
96 | 96 | ||
97 | VERIFYEXEC(Store::create(mail)); | 97 | VERIFYEXEC(Store::create(mail)); |
98 | VERIFYEXEC(ResourceControl::flushMessageQueue(QByteArrayList() << mResourceInstanceIdentifier)); | 98 | VERIFYEXEC(ResourceControl::flushMessageQueue(QByteArrayList() << mResourceInstanceIdentifier)); |