org.apache.james.vut
Class JDBCVirtualUserTableTest

java.lang.Object
  extended by TestCase
      extended by org.apache.james.vut.AbstractVirtualUserTableTest
          extended by org.apache.james.vut.JDBCVirtualUserTableTest

public class JDBCVirtualUserTableTest
extends AbstractVirtualUserTableTest


Field Summary
 
Fields inherited from class org.apache.james.vut.AbstractVirtualUserTableTest
ADDRESS_TYPE, ALIASDOMAIN_TYPE, ERROR_TYPE, REGEX_TYPE, virtualUserTable
 
Constructor Summary
JDBCVirtualUserTableTest()
           
 
Method Summary
protected  boolean addMapping(java.lang.String user, java.lang.String domain, java.lang.String mapping, int type)
           
protected  org.apache.james.impl.vut.AbstractVirtualUserTable getVirtalUserTable()
           
protected  boolean removeMapping(java.lang.String user, java.lang.String domain, java.lang.String mapping, int type)
           
 
Methods inherited from class org.apache.james.vut.AbstractVirtualUserTableTest
setUp, setUpDNSServer, tearDown, testAliasDomainMapping, testRecursiveMapping, testStoreAndRetrieveAddressMapping, testStoreAndRetrieveErrorMapping, testStoreAndRetrieveRegexMapping, testStoreAndRetrieveWildCardAddressMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCVirtualUserTableTest

public JDBCVirtualUserTableTest()
Method Detail

getVirtalUserTable

protected org.apache.james.impl.vut.AbstractVirtualUserTable getVirtalUserTable()
                                                                         throws org.apache.avalon.framework.service.ServiceException,
                                                                                org.apache.avalon.framework.configuration.ConfigurationException,
                                                                                java.lang.Exception
Specified by:
getVirtalUserTable in class AbstractVirtualUserTableTest
Throws:
org.apache.avalon.framework.service.ServiceException
org.apache.avalon.framework.configuration.ConfigurationException
java.lang.Exception
See Also:
AbstractVirtualUserTableTest.getVirtalUserTable()

addMapping

protected boolean addMapping(java.lang.String user,
                             java.lang.String domain,
                             java.lang.String mapping,
                             int type)
                      throws org.apache.james.api.vut.management.InvalidMappingException
Specified by:
addMapping in class AbstractVirtualUserTableTest
Throws:
org.apache.james.api.vut.management.InvalidMappingException
See Also:
AbstractVirtualUserTableTest.addMapping(java.lang.String, java.lang.String, java.lang.String, int)

removeMapping

protected boolean removeMapping(java.lang.String user,
                                java.lang.String domain,
                                java.lang.String mapping,
                                int type)
                         throws org.apache.james.api.vut.management.InvalidMappingException
Specified by:
removeMapping in class AbstractVirtualUserTableTest
Throws:
org.apache.james.api.vut.management.InvalidMappingException
See Also:
AbstractVirtualUserTableTest.removeMapping(java.lang.String, java.lang.String, java.lang.String, int)


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.