james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [james-project] 18/23: JAMES-2865 Cosmetic fixes for RemoteDeliveryErrorTest
Date Fri, 06 Sep 2019 02:02:09 GMT
This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 7eaf9d40de57776926ee03b9da1f24ae9016b517
Author: Benoit Tellier <btellier@linagora.com>
AuthorDate: Thu Sep 5 09:49:54 2019 +0700

    JAMES-2865 Cosmetic fixes for RemoteDeliveryErrorTest
---
 .../apache/james/mailets/RemoteDeliveryErrorTest.java  | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/server/mailet/integration-testing/src/test/java/org/apache/james/mailets/RemoteDeliveryErrorTest.java
b/server/mailet/integration-testing/src/test/java/org/apache/james/mailets/RemoteDeliveryErrorTest.java
index 48b2316..3269d94 100644
--- a/server/mailet/integration-testing/src/test/java/org/apache/james/mailets/RemoteDeliveryErrorTest.java
+++ b/server/mailet/integration-testing/src/test/java/org/apache/james/mailets/RemoteDeliveryErrorTest.java
@@ -198,7 +198,8 @@ public class RemoteDeliveryErrorTest {
             .login(FROM, PASSWORD)
             .select(IMAPMessageReader.INBOX)
             .awaitMessage(awaitAtMostOneMinute);
-        assertThat(imapMessageReader.readFirstMessage()).contains(BOUNCE_MESSAGE);
+        assertThat(imapMessageReader.readFirstMessage())
+            .contains(BOUNCE_MESSAGE);
     }
 
     @Test
@@ -214,7 +215,8 @@ public class RemoteDeliveryErrorTest {
             .login(FROM, PASSWORD)
             .select(IMAPMessageReader.INBOX)
             .awaitMessage(awaitAtMostOneMinute);
-        assertThat(imapMessageReader.readFirstMessage()).contains(BOUNCE_MESSAGE);
+        assertThat(imapMessageReader.readFirstMessage())
+            .contains(BOUNCE_MESSAGE);
     }
 
     @Test
@@ -230,7 +232,8 @@ public class RemoteDeliveryErrorTest {
             .login(FROM, PASSWORD)
             .select(IMAPMessageReader.INBOX)
             .awaitMessage(awaitAtMostOneMinute);
-        assertThat(imapMessageReader.readFirstMessage()).contains(BOUNCE_MESSAGE);
+        assertThat(imapMessageReader.readFirstMessage())
+            .contains(BOUNCE_MESSAGE);
     }
 
     @Test
@@ -246,7 +249,8 @@ public class RemoteDeliveryErrorTest {
             .login(FROM, PASSWORD)
             .select(IMAPMessageReader.INBOX)
             .awaitMessage(awaitAtMostOneMinute);
-        assertThat(imapMessageReader.readFirstMessage()).contains(BOUNCE_MESSAGE);
+        assertThat(imapMessageReader.readFirstMessage())
+            .contains(BOUNCE_MESSAGE);
     }
 
     @Test
@@ -262,7 +266,8 @@ public class RemoteDeliveryErrorTest {
             .login(FROM, PASSWORD)
             .select(IMAPMessageReader.INBOX)
             .awaitMessage(awaitAtMostOneMinute);
-        assertThat(imapMessageReader.readFirstMessage()).contains(BOUNCE_MESSAGE);
+        assertThat(imapMessageReader.readFirstMessage())
+            .contains(BOUNCE_MESSAGE);
     }
 
     @Test
@@ -278,7 +283,8 @@ public class RemoteDeliveryErrorTest {
             .login(FROM, PASSWORD)
             .select(IMAPMessageReader.INBOX)
             .awaitMessage(awaitAtMostOneMinute);
-        assertThat(imapMessageReader.readFirstMessage()).contains(BOUNCE_MESSAGE);
+        assertThat(imapMessageReader.readFirstMessage())
+            .contains(BOUNCE_MESSAGE);
     }
 
     @Test


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