summaryrefslogtreecommitdiffstats
path: root/examples/mailtransportresource/tests
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-19 12:38:46 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-19 12:38:46 +0200
commitba16fd400dfd3468e90b9fe2683a4d9606fc99ee (patch)
treea3bee302b39f507082e01003b8f6181980a0da0a /examples/mailtransportresource/tests
parent3fff4a45faf98ac2f433336442e04ef1b84aae16 (diff)
downloadsink-ba16fd400dfd3468e90b9fe2683a4d9606fc99ee.tar.gz
sink-ba16fd400dfd3468e90b9fe2683a4d9606fc99ee.zip
Use shared preprocessors in mailtransport.
Diffstat (limited to 'examples/mailtransportresource/tests')
-rw-r--r--examples/mailtransportresource/tests/mailtransporttest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mailtransportresource/tests/mailtransporttest.cpp b/examples/mailtransportresource/tests/mailtransporttest.cpp
index f1190a7..3ce5f82 100644
--- a/examples/mailtransportresource/tests/mailtransporttest.cpp
+++ b/examples/mailtransportresource/tests/mailtransporttest.cpp
@@ -65,9 +65,9 @@ private slots:
65 VERIFYEXEC(Store::synchronize(Query::ResourceFilter(mResourceInstanceIdentifier))); 65 VERIFYEXEC(Store::synchronize(Query::ResourceFilter(mResourceInstanceIdentifier)));
66 VERIFYEXEC(ResourceControl::inspect<ApplicationDomain::Mail>(ResourceControl::Inspection::ExistenceInspection(mail, true))); 66 VERIFYEXEC(ResourceControl::inspect<ApplicationDomain::Mail>(ResourceControl::Inspection::ExistenceInspection(mail, true)));
67 67
68 auto sentMail = Store::readOne<ApplicationDomain::Mail>(Query::IdentityFilter(mail).request<Mail::Sent>()); 68 auto sentMail = Store::readOne<ApplicationDomain::Mail>(Query::IdentityFilter(mail).request<Mail::Sent>().request<Mail::Subject>());
69 QVERIFY(sentMail.getSent()); 69 QVERIFY(sentMail.getSent());
70 70 QVERIFY(!sentMail.getSubject().isEmpty());
71 } 71 }
72 72
73 //TODO test mail that fails to be sent. add a special header to the mail and have the resource fail sending. Ensure we can modify the mail to fix sending of the message. 73 //TODO test mail that fails to be sent. add a special header to the mail and have the resource fail sending. Ensure we can modify the mail to fix sending of the message.