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 <btell...@linagora.com>
Authored: Wed Oct 4 10:13:16 2017 +0700
Committer: Matthieu Baechler <matth...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to