james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [1/3] james-project git commit: JAMES-1926 Integration test for JMAP GetMessages::hasAttachment
Date Thu, 09 Feb 2017 10:43:01 GMT
Repository: james-project
Updated Branches:
  refs/heads/master 8ee5d08a9 -> ff3c9517f


JAMES-1926 Integration test for JMAP GetMessages::hasAttachment

Added check that mail with only inline attachment is not reported as "having attachment"

Tests for mail with real attachments and no attachment at all are already handled by the test
suite.


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/bc88a191
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/bc88a191
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/bc88a191

Branch: refs/heads/master
Commit: bc88a19179f69efb21e2dffa16d2357bc8cb28b6
Parents: 9d0fc97
Author: Benoit Tellier <btellier@linagora.com>
Authored: Wed Feb 8 10:27:23 2017 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Thu Feb 9 09:45:07 2017 +0100

----------------------------------------------------------------------
 .../src/test/resources/cucumber/GetMessages.feature                 | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/bc88a191/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature
----------------------------------------------------------------------
diff --git a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature
index 0cd93d1..2b1a6da 100644
--- a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature
+++ b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature
@@ -229,6 +229,7 @@ Feature: GetMessages method
     When the user ask for messages "m1"
     Then no error is returned
     And the list should contain 1 message
+    And the hasAttachment of the message is "false"
     And the textBody of the message is "/blabla/\n*bloblo*\n"
     And the htmlBody of the message is "<i>blabla</i>\n<b>bloblo</b>\n"
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message