james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matth...@apache.org
Subject [21/27] james-project git commit: MAILBOX-310 Mailbox query refactoring: Use matchesAll more
Date Thu, 05 Oct 2017 18:02:33 GMT
MAILBOX-310 Mailbox query refactoring: Use matchesAll more


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

Branch: refs/heads/master
Commit: c6aa6da58e43d0147e3623c7e0feefe46d3064d1
Parents: 6501eab
Author: benwa <btellier@linagora.com>
Authored: Wed Oct 4 10:13:16 2017 +0700
Committer: Matthieu Baechler <matthieu@apache.org>
Committed: Thu Oct 5 20:00:38 2017 +0200

----------------------------------------------------------------------
 .../org/apache/james/mailbox/model/MailboxQueryTest.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c6aa6da5/mailbox/api/src/test/java/org/apache/james/mailbox/model/MailboxQueryTest.java
----------------------------------------------------------------------
diff --git a/mailbox/api/src/test/java/org/apache/james/mailbox/model/MailboxQueryTest.java
b/mailbox/api/src/test/java/org/apache/james/mailbox/model/MailboxQueryTest.java
index a266678..a3149f8 100644
--- a/mailbox/api/src/test/java/org/apache/james/mailbox/model/MailboxQueryTest.java
+++ b/mailbox/api/src/test/java/org/apache/james/mailbox/model/MailboxQueryTest.java
@@ -48,7 +48,7 @@ public class MailboxQueryTest {
         //Given
         MailboxQuery testee = MailboxQuery.builder()
             .base(mailboxPath)
-            .expression("*")
+            .matchesAll()
             .mailboxSession(mailboxSession)
             .build();
         //When
@@ -473,7 +473,7 @@ public class MailboxQueryTest {
         //Given
         MailboxQuery testee = MailboxQuery.builder()
             .base(mailboxPath)
-            .expression("*")
+            .matchesAll()
             .mailboxSession(mailboxSession)
             .build();
         //When
@@ -487,7 +487,7 @@ public class MailboxQueryTest {
         //Given
         MailboxQuery testee = MailboxQuery.builder()
             .base(mailboxPath)
-            .expression("*")
+            .matchesAll()
             .mailboxSession(mailboxSession)
             .build();
         //When
@@ -501,7 +501,7 @@ public class MailboxQueryTest {
         //Given
         MailboxQuery testee = MailboxQuery.builder()
             .base(mailboxPath)
-            .expression("*")
+            .matchesAll()
             .mailboxSession(mailboxSession)
             .build();
         //When


---------------------------------------------------------------------
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