Build: #39 was successful Changes by Alexander Pinske <[email protected]>

Code commits

Plan Repository (main)

  • Alexander Pinske <alex@pinske.eu>

    Alexander Pinske <[email protected]> 996daca228e764f528bc76edb9e33a432ed552e9

    GH-3451: Use GreenMail for testing instead
    Fixes https://github.com/spring-projects/spring-integration/issues/3451

    The GreenMail provides a comprehensive support for e-mail scenarios
    testing.

    * Use GreenMail instead our own `TestMailServer` for better and broader
    support
    * Convert SmtpTests and Pop3Tests to GreenMail
    * Document that Pop3MailReceiver does not support autoCloseFolder=false
    * Pop3MailReceiver uses `folder.getMessageCount()` to determine if there
    are new messages.
    This count only gets updated when opening the folder.
    * Use GreenMail for remaining mail tests
    * convert MailTests and ImapMailReceiverTests to GreenMail
    * remove duplicate mail dependencies
    * route com.sun.mail logging to log4j (via jul and slf4j)

    • build.gradle (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/config/Pop3Tests.java (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/config/SmtpTests.java (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/dsl/MailTests.java (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • spring-integration-mail/src/test/resources/log4j2-test.xml (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • spring-integration-test-support/src/main/java/org/springframework/integration/test/mail/TestMailServer.java (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • src/reference/asciidoc/mail.adoc (version 996daca228e764f528bc76edb9e33a432ed552e9)
    • src/reference/asciidoc/testing.adoc (version 996daca228e764f528bc76edb9e33a432ed552e9)