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 e7a661212806f36c14da01762130bfc7af98cb0f Author: Rene Cordier <rcord...@linagora.com> AuthorDate: Mon Dec 9 11:22:42 2019 +0700 [Refactoring] Move MimePartTest to JUnit 5 --- .../org/apache/james/mailbox/elasticsearch/json/MimePartTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mailbox/elasticsearch/src/test/java/org/apache/james/mailbox/elasticsearch/json/MimePartTest.java b/mailbox/elasticsearch/src/test/java/org/apache/james/mailbox/elasticsearch/json/MimePartTest.java index 2bca61a..79a03c8 100644 --- a/mailbox/elasticsearch/src/test/java/org/apache/james/mailbox/elasticsearch/json/MimePartTest.java +++ b/mailbox/elasticsearch/src/test/java/org/apache/james/mailbox/elasticsearch/json/MimePartTest.java @@ -23,12 +23,12 @@ import static org.assertj.core.api.Assertions.assertThat; import java.io.ByteArrayInputStream; import java.nio.charset.StandardCharsets; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class MimePartTest { +class MimePartTest { @Test - public void buildShouldWorkWhenTextualContentFromParserIsEmpty() { + void buildShouldWorkWhenTextualContentFromParserIsEmpty() { MimePart.builder() .addBodyContent(new ByteArrayInputStream(new byte[] {})) .addMediaType("text") @@ -37,7 +37,7 @@ public class MimePartTest { } @Test - public void buildShouldWorkWhenTextualContentFromParserIsNonEmpty() { + void buildShouldWorkWhenTextualContentFromParserIsNonEmpty() { String body = "text"; MimePart mimePart = MimePart.builder() .addBodyContent(new ByteArrayInputStream(body.getBytes(StandardCharsets.UTF_8))) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org