You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2020/11/09 11:45:30 UTC
[james-project] 02/09: JAMES-3434 Specify tests to be written for
EmailSubmission/set create
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit ef35a0d521970aeb44a7c73b1d7053163fc5b9d3
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue Nov 3 16:28:38 2020 +0700
JAMES-3434 Specify tests to be written for EmailSubmission/set create
---
.../contract/EmailSubmissionSetMethodContract.scala | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailSubmissionSetMethodContract.scala b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailSubmissionSetMethodContract.scala
index 6974db6..0009d81 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailSubmissionSetMethodContract.scala
+++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailSubmissionSetMethodContract.scala
@@ -41,6 +41,22 @@ import org.awaitility.Awaitility
import org.awaitility.Duration.ONE_HUNDRED_MILLISECONDS
import org.junit.jupiter.api.{BeforeEach, Test}
+/*
+ TODO
+ - Bob can not send from Andre Account ID
+ - Bob can not use Andre in mailFrom
+ - Bob cannot use Andra in sender & from Mime fields
+ - Emails with empty recipients are rejected
+ - Can send an email to himself
+ - message not found are handled
+ - extra properties are rejected
+ - message not founds are handled
+ - I can chain Email/set create & EmailSubmission/create
+ - multiple recipients
+ - cannot send other people mail
+ - can send delegated emails (read permission)
+ */
+
trait EmailSubmissionSetMethodContract {
private lazy val slowPacedPollInterval = ONE_HUNDRED_MILLISECONDS
private lazy val calmlyAwait = Awaitility.`with`
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org