Class ServerSetupTest

java.lang.Object
com.icegreen.greenmail.util.ServerSetupTest

public class ServerSetupTest extends Object
Defines a series of non-default ports for test purposes. The ports for the various protocols are the default ones plus an offset which is 3000. i.e.
smtp3025
smtps3465
pop33110
pop3s3995
imap3143
imaps3993
Use ServerSetup for default ports
Since:
Jan 28, 2006
Version:
$Id: $
Author:
Wael Chatila
  • Field Details

    • portOffset

      public static int portOffset
    • SMTP

      public static final ServerSetup SMTP
    • SMTPS

      public static final ServerSetup SMTPS
    • POP3

      public static final ServerSetup POP3
    • POP3S

      public static final ServerSetup POP3S
    • IMAP

      public static final ServerSetup IMAP
    • IMAPS

      public static final ServerSetup IMAPS
    • SMTP_POP3

      public static final ServerSetup[] SMTP_POP3
    • SMTP_IMAP

      public static final ServerSetup[] SMTP_IMAP
    • SMTP_POP3_IMAP

      public static final ServerSetup[] SMTP_POP3_IMAP
    • SMTPS_POP3S

      public static final ServerSetup[] SMTPS_POP3S
    • SMTPS_POP3S_IMAPS

      public static final ServerSetup[] SMTPS_POP3S_IMAPS
    • SMTPS_IMAPS

      public static final ServerSetup[] SMTPS_IMAPS
    • ALL

      public static final ServerSetup[] ALL
  • Constructor Details

    • ServerSetupTest

      public ServerSetupTest()
  • Method Details

    • getPortOffset

      public static int getPortOffset()
    • setPortOffset

      public static void setPortOffset(int portOffset)