MAILBOX-351 ReIndexerImpl test: make test names more accurate

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

Branch: refs/heads/master
Commit: f1f981a4b75d49bdae4ed908f71f50f07ef0f12a
Parents: 9b43051
Author: Benoit Tellier <btell...@linagora.com>
Authored: Wed Nov 28 15:48:08 2018 +0700
Committer: Benoit Tellier <btell...@linagora.com>
Committed: Thu Nov 29 10:52:45 2018 +0700

----------------------------------------------------------------------
 .../mailbox/tools/indexer/ReIndexerImplTest.java      | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/f1f981a4/mailbox/tools/indexer/src/test/java/org/apache/mailbox/tools/indexer/ReIndexerImplTest.java
----------------------------------------------------------------------
diff --git 
a/mailbox/tools/indexer/src/test/java/org/apache/mailbox/tools/indexer/ReIndexerImplTest.java
 
b/mailbox/tools/indexer/src/test/java/org/apache/mailbox/tools/indexer/ReIndexerImplTest.java
index 3e0661f..4ada930 100644
--- 
a/mailbox/tools/indexer/src/test/java/org/apache/mailbox/tools/indexer/ReIndexerImplTest.java
+++ 
b/mailbox/tools/indexer/src/test/java/org/apache/mailbox/tools/indexer/ReIndexerImplTest.java
@@ -67,7 +67,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void reIndexShouldBeWellPerformed() throws Exception {
+    void reIndexAllShouldCallMessageSearchIndex() throws Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
         ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, 
systemSession)
@@ -94,7 +94,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void mailboxPathUserShouldBeUsedWhenReIndexing() throws Exception {
+    void reIndexMailboxPathShouldCallMessageSearchIndex() throws Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
         ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, 
systemSession)
@@ -120,7 +120,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void userReIndexShouldBeWellPerformed() throws Exception {
+    void userReIndexShouldCallMessageSearchIndex() throws Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
         ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, 
systemSession)
@@ -146,7 +146,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void messageReIndexShouldBeWellPerformed() throws Exception {
+    void messageReIndexShouldCallMessageSearchIndex() throws Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
         ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, 
systemSession)
@@ -169,7 +169,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void messageReIndexUsingMailboxIdShouldBeWellPerformed() throws Exception {
+    void messageReIndexUsingMailboxIdShouldCallMessageSearchIndex() throws 
Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
         ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, 
systemSession)
@@ -212,7 +212,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void mailboxIdReIndexShouldBeWellPerformed() throws Exception {
+    void mailboxIdReIndexShouldCallMessageSearchIndex() throws Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
         ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, 
systemSession)
@@ -236,7 +236,7 @@ public class ReIndexerImplTest {
     }
 
     @Test
-    void mailboxIdReIndexShouldBeWellPerformedWhenEmptyMailbox() throws 
Exception {
+    void mailboxIdReIndexShouldOnlyDropSearchIndexWhenEmptyMailbox() throws 
Exception {
         MailboxSession systemSession = 
mailboxManager.createSystemSession(USERNAME);
         MailboxId mailboxId = mailboxManager.createMailbox(INBOX, 
systemSession).get();
 


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