com.icegreen.greenmail.util
Class ServerSetupTest

java.lang.Object
  extended by 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
See Also:
ServerSetup}

Field Summary
static ServerSetup[] ALL
           
static ServerSetup IMAP
           
static ServerSetup IMAPS
           
static ServerSetup POP3
           
static ServerSetup POP3S
           
static int portOffset
           
static ServerSetup SMTP
           
static ServerSetup[] SMTP_IMAP
           
static ServerSetup[] SMTP_POP3
           
static ServerSetup[] SMTP_POP3_IMAP
           
static ServerSetup SMTPS
           
static ServerSetup[] SMTPS_IMAPS
           
static ServerSetup[] SMTPS_POP3S
           
static ServerSetup[] SMTPS_POP3S_IMAPS
           
 
Constructor Summary
ServerSetupTest()
           
 
Method Summary
static int getPortOffset()
           
static void setPortOffset(int portOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

ServerSetupTest

public ServerSetupTest()
Method Detail

getPortOffset

public static int getPortOffset()

setPortOffset

public static void setPortOffset(int portOffset)