org.apache.james.vut
Class AbstractVirtualUserTableTest
java.lang.Object
TestCase
org.apache.james.vut.AbstractVirtualUserTableTest
- Direct Known Subclasses:
- JDBCVirtualUserTableTest, XMLVirtualUserTableTest
public abstract class AbstractVirtualUserTableTest
- extends TestCase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
virtualUserTable
protected org.apache.james.impl.vut.AbstractVirtualUserTable virtualUserTable
REGEX_TYPE
protected static final int REGEX_TYPE
- See Also:
- Constant Field Values
ERROR_TYPE
protected static final int ERROR_TYPE
- See Also:
- Constant Field Values
ADDRESS_TYPE
protected static final int ADDRESS_TYPE
- See Also:
- Constant Field Values
ALIASDOMAIN_TYPE
protected static final int ALIASDOMAIN_TYPE
- See Also:
- Constant Field Values
AbstractVirtualUserTableTest
public AbstractVirtualUserTableTest()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVirtalUserTable
protected abstract org.apache.james.impl.vut.AbstractVirtualUserTable getVirtalUserTable()
throws org.apache.avalon.framework.service.ServiceException,
org.apache.avalon.framework.configuration.ConfigurationException,
java.lang.Exception
- Throws:
org.apache.avalon.framework.service.ServiceException
org.apache.avalon.framework.configuration.ConfigurationException
java.lang.Exception
addMapping
protected abstract boolean addMapping(java.lang.String user,
java.lang.String domain,
java.lang.String mapping,
int type)
throws org.apache.james.api.vut.management.InvalidMappingException
- Throws:
org.apache.james.api.vut.management.InvalidMappingException
removeMapping
protected abstract boolean removeMapping(java.lang.String user,
java.lang.String domain,
java.lang.String mapping,
int type)
throws org.apache.james.api.vut.management.InvalidMappingException
- Throws:
org.apache.james.api.vut.management.InvalidMappingException
setUpDNSServer
protected org.apache.james.api.dnsservice.DNSService setUpDNSServer()
testStoreAndRetrieveRegexMapping
public void testStoreAndRetrieveRegexMapping()
throws org.apache.james.api.vut.ErrorMappingException
- Throws:
org.apache.james.api.vut.ErrorMappingException
testStoreAndRetrieveAddressMapping
public void testStoreAndRetrieveAddressMapping()
throws org.apache.james.api.vut.ErrorMappingException
- Throws:
org.apache.james.api.vut.ErrorMappingException
testStoreAndRetrieveErrorMapping
public void testStoreAndRetrieveErrorMapping()
throws org.apache.james.api.vut.ErrorMappingException
- Throws:
org.apache.james.api.vut.ErrorMappingException
testStoreAndRetrieveWildCardAddressMapping
public void testStoreAndRetrieveWildCardAddressMapping()
throws org.apache.james.api.vut.ErrorMappingException
- Throws:
org.apache.james.api.vut.ErrorMappingException
testRecursiveMapping
public void testRecursiveMapping()
throws org.apache.james.api.vut.ErrorMappingException
- Throws:
org.apache.james.api.vut.ErrorMappingException
testAliasDomainMapping
public void testAliasDomainMapping()
throws org.apache.james.api.vut.ErrorMappingException
- Throws:
org.apache.james.api.vut.ErrorMappingException
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.