|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.test.util.Util
public class Util
some utilities for James unit testing
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static org.apache.avalon.framework.configuration.DefaultConfiguration |
createRemoteManagerHandlerChainConfiguration()
|
static org.apache.avalon.framework.configuration.DefaultConfiguration |
createSMTPHandlerChainConfiguration()
|
protected static int |
getNextNonPrivilegedPort()
assigns ports sequentially from the range of test ports |
static int |
getNonPrivilegedPort()
assigns a port from the range of test ports |
protected static int |
getRandomNonPrivilegedPortInt()
assigns a random port from the range of test ports |
static org.apache.avalon.framework.configuration.Configuration |
getValuedConfiguration(java.lang.String name,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int getNonPrivilegedPort()
protected static int getRandomNonPrivilegedPortInt()
protected static int getNextNonPrivilegedPort()
public static org.apache.avalon.framework.configuration.Configuration getValuedConfiguration(java.lang.String name, java.lang.String value)
public static org.apache.avalon.framework.configuration.DefaultConfiguration createRemoteManagerHandlerChainConfiguration()
public static org.apache.avalon.framework.configuration.DefaultConfiguration createSMTPHandlerChainConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |