JAMES-2580 Tagging cucumber tests

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

Branch: refs/heads/master
Commit: 6b2ac717a9c856d1c857e288fb92551b5562794f
Parents: 2378c17
Author: tran tien duc <dt...@linagora.com>
Authored: Wed Oct 31 17:05:23 2018 +0700
Committer: Antoine Duprat <adup...@linagora.com>
Committed: Wed Nov 7 14:10:29 2018 +0100

----------------------------------------------------------------------
 .../jmap/cassandra/cucumber/CassandraDownloadCucumberTest.java | 5 ++++-
 .../cassandra/cucumber/CassandraGetMessagesMethodTest.java     | 4 ++++
 .../cucumber/CassandraIMAPKeywordsInconsistenciesTest.java     | 4 ++++
 .../cucumber/CassandraIMAPSetMessagesCompatibilityTest.java    | 4 ++++
 .../jmap/cassandra/cucumber/CassandraMailboxSharingTest.java   | 5 ++++-
 .../jmap/cassandra/cucumber/CassandraMessageSharingTest.java   | 5 ++++-
 .../cucumber/CassandraSetMailboxesMethodCucumberTest.java      | 4 ++++
 .../cucumber/CassandraSetMessagesMethodCucumberTest.java       | 4 ++++
 .../jmap/cassandra/cucumber/CassandraUploadCucumberTest.java   | 5 ++++-
 .../src/test/resources/cucumber/DownloadEndpoint.feature       | 1 +
 .../src/test/resources/cucumber/DownloadGet.feature            | 2 ++
 .../src/test/resources/cucumber/DownloadPost.feature           | 1 +
 .../src/test/resources/cucumber/GetMessages.feature            | 6 ++++--
 .../src/test/resources/cucumber/MailboxModification.feature    | 2 ++
 .../src/test/resources/cucumber/SetMessages.feature            | 2 ++
 .../src/test/resources/cucumber/UploadEndpoint.feature         | 1 +
 .../src/test/resources/cucumber/sharing/CopyAndSharing.feature | 1 +
 .../test/resources/cucumber/sharing/DownloadAndSharing.feature | 1 +
 .../resources/cucumber/sharing/GetMessageAndSharing.feature    | 1 +
 .../cucumber/sharing/GetMessageListAndSharing.feature          | 1 +
 .../resources/cucumber/sharing/MoveMailboxAndSharing.feature   | 1 +
 .../resources/cucumber/sharing/MoveMessageAndSharing.feature   | 1 +
 .../cucumber/sharing/RenamingMailboxAndSharing.feature         | 1 +
 .../test/resources/cucumber/sharing/SetFlagAndSharing.feature  | 1 +
 .../cucumber/sharing/SetMessagesOnSharedMailbox.feature        | 6 +++++-
 25 files changed, 62 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraDownloadCucumberTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraDownloadCucumberTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraDownloadCucumberTest.java
index 40f59af..109c1b7 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraDownloadCucumberTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraDownloadCucumberTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,7 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = {"classpath:cucumber/DownloadEndpoint.feature", 
"classpath:cucumber/DownloadGet.feature", 
"classpath:cucumber/DownloadPost.feature"},
                 glue = {"org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber"},
-                tags = {"not @Ignore"},
+                tags = {"not @Ignore", "@BasicFeature"},
                 strict = true)
+@Category(EnableCucumber.class)
 public class CassandraDownloadCucumberTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraGetMessagesMethodTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraGetMessagesMethodTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraGetMessagesMethodTest.java
index b4d541b..aa6c70b 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraGetMessagesMethodTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraGetMessagesMethodTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,6 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = "classpath:cucumber/GetMessages.feature",
                 glue = {"org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber"},
+                tags = {"not @Ignore", "@BasicFeature"},
                 strict = true)
+@Category(EnableCucumber.class)
 public class CassandraGetMessagesMethodTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPKeywordsInconsistenciesTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPKeywordsInconsistenciesTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPKeywordsInconsistenciesTest.java
index 2314967..37aa421 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPKeywordsInconsistenciesTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPKeywordsInconsistenciesTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,6 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = 
"classpath:cucumber/ImapKeywordsConsistency.feature",
     glue = {"org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber"},
+    tags = {"not @Ignore", "@BasicFeature"},
     strict = true)
+@Category(EnableCucumber.class)
 public class CassandraIMAPKeywordsInconsistenciesTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPSetMessagesCompatibilityTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPSetMessagesCompatibilityTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPSetMessagesCompatibilityTest.java
index debe2dc..2285d62 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPSetMessagesCompatibilityTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraIMAPSetMessagesCompatibilityTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,6 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = 
"classpath:cucumber/ImapSetMessagesMailboxesUpdatesCompatibility.feature",
     glue = {"org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber"},
+    tags = {"not @Ignore", "@BasicFeature"},
     strict = true)
+@Category(EnableCucumber.class)
 public class CassandraIMAPSetMessagesCompatibilityTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMailboxSharingTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMailboxSharingTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMailboxSharingTest.java
index 2301cb6..89a1d12 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMailboxSharingTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMailboxSharingTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -34,7 +36,8 @@ import cucumber.api.junit.Cucumber;
     "classpath:cucumber/sharing/MoveMailboxAndSharing.feature",
     "classpath:cucumber/sharing/RenamingMailboxAndSharing.feature" },
     glue = { "org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber" },
-    tags = {"not @Ignore"},
+    tags = {"not @Ignore", "@BasicFeature"},
     strict = true)
+@Category(EnableCucumber.class)
 public class CassandraMailboxSharingTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMessageSharingTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMessageSharingTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMessageSharingTest.java
index 0abf0aa..22959bb 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMessageSharingTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraMessageSharingTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -35,7 +37,8 @@ import cucumber.api.junit.Cucumber;
     "classpath:cucumber/sharing/SetFlagAndSharing.feature",
     "classpath:cucumber/sharing/CopyAndSharing.feature" },
     glue = { "org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber" },
-    tags = {"not @Ignore"},
+    tags = {"not @Ignore", "@BasicFeature"},
     strict = true)
+@Category(EnableCucumber.class)
 public class CassandraMessageSharingTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMailboxesMethodCucumberTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMailboxesMethodCucumberTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMailboxesMethodCucumberTest.java
index e10bb8f..ee77170 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMailboxesMethodCucumberTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMailboxesMethodCucumberTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,6 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = { 
"classpath:cucumber/MailboxModification.feature", 
"classpath:cucumber/SetMailboxes.feature" },
                 glue = { "org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber" },
+                tags = {"not @Ignore", "@BasicFeature"},
                 strict = true)
+@Category(EnableCucumber.class)
 public class CassandraSetMailboxesMethodCucumberTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMessagesMethodCucumberTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMessagesMethodCucumberTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMessagesMethodCucumberTest.java
index c22136f..ce94646 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMessagesMethodCucumberTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraSetMessagesMethodCucumberTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,6 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = "classpath:cucumber/SetMessages.feature",
                 glue = {"org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber"},
+                tags = {"not @Ignore", "@BasicFeature"},
                 strict = true)
+@Category(EnableCucumber.class)
 public class CassandraSetMessagesMethodCucumberTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraUploadCucumberTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraUploadCucumberTest.java
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraUploadCucumberTest.java
index 6ba97cd..e86eae4 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraUploadCucumberTest.java
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/src/test/java/org/apache/james/jmap/cassandra/cucumber/CassandraUploadCucumberTest.java
@@ -19,6 +19,8 @@
 
 package org.apache.james.jmap.cassandra.cucumber;
 
+import org.apache.james.jmap.categories.EnableCucumber;
+import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 
 import cucumber.api.CucumberOptions;
@@ -27,7 +29,8 @@ import cucumber.api.junit.Cucumber;
 @RunWith(Cucumber.class)
 @CucumberOptions(features = {"classpath:cucumber/UploadEndpoint.feature"},
                 glue = {"org.apache.james.jmap.methods.integration", 
"org.apache.james.jmap.cassandra.cucumber"},
-                tags = {"not @Ignore"},
+                tags = {"not @Ignore", "@BasicFeature"},
                 strict = true)
+@Category(EnableCucumber.class)
 public class CassandraUploadCucumberTest {
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadEndpoint.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadEndpoint.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadEndpoint.feature
index 3bb275a..2920b19 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadEndpoint.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadEndpoint.feature
@@ -70,6 +70,7 @@ Feature: Download endpoint
     When "us...@domain.tld" downloads "a1" with wrong blobId
     Then the user should not be authorized
 
+  @BasicFeature
   Scenario: A user should have access to the download endpoint when an 
authentication token is valid
     Given "us...@domain.tld" is trusted for attachment "a1"
     When "us...@domain.tld" downloads "a1"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
index a68740e..2c225c7 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
@@ -26,6 +26,7 @@ Feature: Download GET
     And a user "b...@domain.tld"
     And "al...@domain.tld" has a mailbox "INBOX"
 
+  @BasicFeature
   Scenario: Getting an attachment previously stored
     Given "al...@domain.tld" mailbox "INBOX" contains a message "1" with an 
attachment "2"
     When "al...@domain.tld" downloads "2"
@@ -49,6 +50,7 @@ Feature: Download GET
     Then she can read that blob
     And the attachment is named "ديناصور.odt"
 
+  @BasicFeature
   Scenario: Getting a message blob previously stored
     Given "al...@domain.tld" mailbox "INBOX" contains a message "1"
     When "al...@domain.tld" downloads "1"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadPost.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadPost.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadPost.feature
index 6621c11..e6f09ab 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadPost.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadPost.feature
@@ -30,6 +30,7 @@ Feature: Alternative authentication mechanism for getting 
attachment via a POST
     When "usern...@domain.tld" asks for a token for attachment "123"
     Then the user should receive a not found response
 
+  @BasicFeature
   Scenario: Asking for an attachment access token with a previously stored 
blobId
     Given "usern...@domain.tld" mailbox "INBOX" contains a message "1" with an 
attachment "2"
     When "usern...@domain.tld" asks for a token for attachment "2"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/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 efd23d5..a497504 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
@@ -58,6 +58,7 @@ Feature: GetMessages method
     Then no error is returned
     And the notFound list should contain the requested message id
 
+  @BasicFeature
   Scenario: Retrieving message should return messages when exists
     Given "al...@domain.tld" has a message "m1" in "INBOX" mailbox with 
subject "my test subject", content "testmail"
     When "al...@domain.tld" ask for messages "m1"
@@ -154,6 +155,7 @@ Feature: GetMessages method
     And the id of the message is "m1"
     And the subject of the message is "my test subject"
 
+  @BasicFeature
   Scenario: Retrieving message should return attachments when some
     Given "al...@domain.tld" has a message "m1" in "INBOX" mailbox with two 
attachments
     When "al...@domain.tld" ask for messages "m1"
@@ -334,6 +336,7 @@ Feature: GetMessages method
             |content-type                                       
|tranfer-encoding   |content                                                    
                                                 |preview                       
                                                               |
             |"text/html; charset=iso-8859-1"                    
|quoted-printable   |"Dans le cadre du stage effectu=E9 Mlle 2017, =E0 sign=E9e 
d=E8s que possible, =E0, tr=E8s, journ=E9e.."    |effectué, à, signée dès, 
très, journée                                                                 
       |
 
+  @BasicFeature
   Scenario Outline: Retrieving message should display keywords as jmap flag
     Given "al...@domain.tld" has a message "m1" in the "INBOX" mailbox with 
flags <flags>
     When "al...@domain.tld" ask for messages "m1"
@@ -434,7 +437,6 @@ Feature: GetMessages method
     |name     |"IMG_6112.JPG"                |
     |isInline |false                         |
 
-  @Only
   Scenario: Header only text calendar should be read as normal calendar 
attachment by JMAP
     Given "al...@domain.tld" receives a SMTP message specified in file 
"eml/ics_in_header.eml" as message "m1"
     When "al...@domain.tld" ask for messages "m1"
@@ -446,5 +448,5 @@ Feature: GetMessages method
     |key      | value                        |
     |type     |"text/calendar"               |
     |size     |1056                          |
-    |name     |"event.ics"                |
+    |name     |"event.ics"                   |
     |isInline |false                         |

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/MailboxModification.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/MailboxModification.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/MailboxModification.feature
index 7b63c86..ddebf9d 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/MailboxModification.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/MailboxModification.feature
@@ -26,11 +26,13 @@ Feature: Mailbox modification
     Given a domain named "domain.tld"
     And a connected user "usern...@domain.tld"
 
+  @BasicFeature
   Scenario: Renaming a mailbox should keep messages
     Given mailbox "A" with 2 messages
     When renaming mailbox "A" to "B"
     Then mailbox "B" contains 2 messages
 
+  @BasicFeature
   Scenario: Moving a mailbox should keep messages
     Given mailbox "A" with 2 messages
     And mailbox "A.B" with 3 messages

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/SetMessages.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/SetMessages.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/SetMessages.feature
index 36a1cf9..ca24d82 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/SetMessages.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/SetMessages.feature
@@ -27,6 +27,7 @@ Feature: SetMessages method
 
 # Flags update
 
+  @BasicFeature
   Scenario: A user can update the flags on a message
     Given "b...@domain.tld" sets flags "$Flagged,$Seen" on message "mBob"
     When "b...@domain.tld" sets flags "$Flagged,$Forwarded" on message "mBob"
@@ -53,6 +54,7 @@ Feature: SetMessages method
     When "b...@domain.tld" marks the message "mDraft" as flagged
     Then "b...@domain.tld" should see message "mDraft" with keywords 
"$Draft,$Flagged"
 
+  @BasicFeature
   Scenario: A user can destroy a draft
     Given "b...@domain.tld" has a mailbox "Drafts"
     And "b...@domain.tld" tries to create a draft message "mDraft" in mailbox 
"Drafts"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/UploadEndpoint.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/UploadEndpoint.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/UploadEndpoint.feature
index 42fc889..96788e8 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/UploadEndpoint.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/UploadEndpoint.feature
@@ -55,6 +55,7 @@ Feature: An upload endpoint should be available to upload 
contents
     When "usern...@domain.tld" upload a content without content type
     Then the user should receive bad request response
 
+  @BasicFeature
   Scenario: Uploading a content, the content should be retrievable
     When "usern...@domain.tld" upload a content
     Then "usern...@domain.tld" should be able to retrieve the content

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/CopyAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/CopyAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/CopyAndSharing.feature
index de466d7..1f07c4e 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/CopyAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/CopyAndSharing.feature
@@ -35,6 +35,7 @@ Feature: Copy message and sharing
     Then the mailbox "shared" has 1 message
     And the mailbox "shared" has 1 unseen message
 
+  @BasicFeature
   Scenario: Copy message should update the total and the unread counts when 
asked by sharer / sharee view
     Given "al...@domain.tld" copies "m1" from mailbox "INBOX" to mailbox 
"shared"
     When "b...@domain.tld" lists mailboxes

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/DownloadAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/DownloadAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/DownloadAndSharing.feature
index 23194ab..ec45a5b 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/DownloadAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/DownloadAndSharing.feature
@@ -32,6 +32,7 @@ Feature: Download endpoint and shared mailbox
     When "b...@domain.tld" downloads "a1"
     Then the user should be authorized
 
+  @BasicFeature
   Scenario: Bob can download attachment of another user when shared mailbox
     When "b...@domain.tld" downloads "a1"
     Then he can read that blob

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageAndSharing.feature
index 30e662f..ebee883 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageAndSharing.feature
@@ -28,6 +28,7 @@ Feature: GetMessages method on shared mailbox
     And "al...@domain.tld" shares her mailbox "shared" with "b...@domain.tld" 
with "lr" rights
     And "al...@domain.tld" has a message "m1" in "shared" mailbox with subject 
"my test subject", content "testmail"
 
+  @BasicFeature
   Scenario: Retrieving a message in a mailbox delegated to me
     When "b...@domain.tld" ask for messages "m1"
     Then no error is returned

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageListAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageListAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageListAndSharing.feature
index 2a7b24b..d86574d 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageListAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/GetMessageListAndSharing.feature
@@ -35,6 +35,7 @@ Feature: Listing message from shared mailbox
     Then the mailbox "shared" has 2 messages
     And the mailbox "shared" has 2 unseen messages
 
+  @BasicFeature
   Scenario: Sharee can read the total and unread counts on a shared folder
     Given "al...@domain.tld" has a message "m1" in "shared" mailbox
     And "al...@domain.tld" has a message "m2" in "shared" mailbox with subject 
"my test subject 2", content "testmail 2"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMailboxAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMailboxAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMailboxAndSharing.feature
index 2cc7b0b..196a1c2 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMailboxAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMailboxAndSharing.feature
@@ -68,6 +68,7 @@ Feature: Moving mailbox and sharing
     Then "b...@domain.tld" lists mailboxes
     And the mailboxes should contain "sharedChild" in "Delegated" namespace, 
with no parent mailbox
 
+  @BasicFeature
   Scenario: A sharee should be able to retrieve a mailbox after sharer moved 
it into another mailbox
     Given "al...@domain.tld" has a mailbox "notShared"
     When "al...@domain.tld" moves the mailbox "shared.sharedChild" owned by 
"al...@domain.tld", into mailbox "notShared" owned by "al...@domain.tld"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMessageAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMessageAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMessageAndSharing.feature
index b388a49..dc464db 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMessageAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/MoveMessageAndSharing.feature
@@ -73,6 +73,7 @@ Feature: Move message and sharing
     Then the mailbox "sharedBis" has 0 messages
     And the mailbox "sharedBis" has 0 unseen messages
 
+  @BasicFeature
   Scenario: Move message should update the total and the unread counts when 
asked by sharee / sharee view
     Given "b...@domain.tld" has a message "m1" in "bobMailbox" mailbox
     And "b...@domain.tld" moves "m1" to mailbox "shared" of user 
"al...@domain.tld"

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/RenamingMailboxAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/RenamingMailboxAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/RenamingMailboxAndSharing.feature
index 769209a..31f544c 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/RenamingMailboxAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/RenamingMailboxAndSharing.feature
@@ -26,6 +26,7 @@ Feature: Renaming mailbox and sharing
     And "al...@domain.tld" has a mailbox "shared"
     And "al...@domain.tld" shares her mailbox "shared" with "b...@domain.tld" 
with "aeilrwt" rights
 
+  @BasicFeature
   Scenario: A sharee should be able to access a shared mailbox after it has 
been renamed by the owner
     Given "al...@domain.tld" renames her mailbox "shared" to "mySharedMailbox"
     When "b...@domain.tld" lists mailboxes

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetFlagAndSharing.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetFlagAndSharing.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetFlagAndSharing.feature
index a3287fa..a4cd7c9 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetFlagAndSharing.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetFlagAndSharing.feature
@@ -33,6 +33,7 @@ Feature: Set flag and sharing
     Then the mailbox "shared" has 1 message
     And the mailbox "shared" has 0 unseen messages
 
+  @BasicFeature
   Scenario: Set flags by sharer should update unseen count when read by sharee
     When "al...@domain.tld" sets flags "$Seen" on message "m1"
     And "b...@domain.tld" lists mailboxes

http://git-wip-us.apache.org/repos/asf/james-project/blob/6b2ac717/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetMessagesOnSharedMailbox.feature
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetMessagesOnSharedMailbox.feature
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetMessagesOnSharedMailbox.feature
index 9a3631d..b76876d 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetMessagesOnSharedMailbox.feature
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/sharing/SetMessagesOnSharedMailbox.feature
@@ -28,6 +28,7 @@ Feature: SetMessages method on shared folders
     And "b...@domain.tld" has a message "mBob" in "shared" mailbox with two 
attachments in text
     And "al...@domain.tld" has a message "mAlice" in "INBOX" mailbox with two 
attachments in text
 
+  @BasicFeature
   Scenario: A delegated user can copy messages from shared mailbox when having 
"read" right
     Given "b...@domain.tld" shares his mailbox "shared" with 
"al...@domain.tld" with "lr" rights
     And "al...@domain.tld" copies "mBob" from mailbox "shared" of user 
"b...@domain.tld" to mailbox "INBOX" of user "al...@domain.tld"
@@ -35,12 +36,14 @@ Feature: SetMessages method on shared folders
         |al...@domain.tld |INBOX  |
         |b...@domain.tld   |shared |
 
+  @BasicFeature
   Scenario: A delegated user can move messages out of shared mailbox when 
having "read" and "delete" rights
     Given "b...@domain.tld" shares his mailbox "shared" with 
"al...@domain.tld" with "lrte" rights
     And "al...@domain.tld" moves "mBob" to mailbox "INBOX" of user 
"al...@domain.tld"
     Then "al...@domain.tld" should see message "mBob" in mailboxes:
         |al...@domain.tld |INBOX  |
 
+  @BasicFeature
   Scenario: A delegated user can add messages to a shared mailbox when having 
"insert" rights
     Given "b...@domain.tld" shares his mailbox "shared" with 
"al...@domain.tld" with "lri" rights
     And "al...@domain.tld" copies "mAlice" from mailbox "INBOX" of user 
"al...@domain.tld" to mailbox "shared" of user "b...@domain.tld"
@@ -75,7 +78,7 @@ Feature: SetMessages method on shared folders
     When "al...@domain.tld" moves "mBob" to mailbox "INBOX" of user 
"al...@domain.tld"
     Then message "mBob" is not updated
 
-
+  @BasicFeature
   Scenario: A delegated user add keywords on a delegated message when having 
"write" right
     Given "b...@domain.tld" shares his mailbox "shared" with 
"al...@domain.tld" with "lrw" rights
     When "al...@domain.tld" sets flags "$Flagged" on message "mBob"
@@ -86,6 +89,7 @@ Feature: SetMessages method on shared folders
     When "al...@domain.tld" sets flags "$Flagged" on message "mBob"
     Then message "mBob" is not updated
 
+  @BasicFeature
   Scenario: A delegated user remove keywords on a delegated message when 
having "write" right
     Given "b...@domain.tld" shares his mailbox "shared" with 
"al...@domain.tld" with "lrw" rights
     And "b...@domain.tld" sets flags "$Flagged" on message "mBob"


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

Reply via email to