org.apache.james.userrepository
Class DefaultUsersJdbcRepositoryTest

java.lang.Object
  extended by TestCase
      extended by org.apache.james.userrepository.MockUsersRepositoryTest
          extended by org.apache.james.userrepository.DefaultUsersJdbcRepositoryTest

public class DefaultUsersJdbcRepositoryTest
extends MockUsersRepositoryTest

Test basic behaviours of UsersFileRepository


Field Summary
 
Fields inherited from class org.apache.james.userrepository.MockUsersRepositoryTest
usersRepository
 
Constructor Summary
DefaultUsersJdbcRepositoryTest()
           
 
Method Summary
protected  void configureAbstractJdbcUsersRepository(org.apache.james.userrepository.AbstractJdbcUsersRepository res, java.lang.String tableString)
           
protected  void disposeUsersRepository()
          Dispose the repository
protected  boolean getCheckCase()
           
protected  org.apache.james.api.user.UsersRepository getUsersRepository()
          Create the repository to be tested.
 
Methods inherited from class org.apache.james.userrepository.MockUsersRepositoryTest
getAllowMultipleUsersWithDifferentCases, getPasswordsEnabled, setUp, tearDown, testAddUserOnce, testCaseInsensitivesMethods, testUserAddedIsFound, testUserAddRemoveCycle, testUserListing, testUserPassword, testUsersRepositoryEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUsersJdbcRepositoryTest

public DefaultUsersJdbcRepositoryTest()
Method Detail

getUsersRepository

protected org.apache.james.api.user.UsersRepository getUsersRepository()
                                                                throws java.lang.Exception
Create the repository to be tested.

Overrides:
getUsersRepository in class MockUsersRepositoryTest
Returns:
the user repository
Throws:
java.lang.Exception

configureAbstractJdbcUsersRepository

protected void configureAbstractJdbcUsersRepository(org.apache.james.userrepository.AbstractJdbcUsersRepository res,
                                                    java.lang.String tableString)
                                             throws java.lang.Exception,
                                                    org.apache.avalon.framework.configuration.ConfigurationException
Parameters:
res -
tableString -
Throws:
java.lang.Exception
org.apache.avalon.framework.configuration.ConfigurationException

getCheckCase

protected boolean getCheckCase()
Overrides:
getCheckCase in class MockUsersRepositoryTest
Returns:

disposeUsersRepository

protected void disposeUsersRepository()
Description copied from class: MockUsersRepositoryTest
Dispose the repository

Overrides:
disposeUsersRepository in class MockUsersRepositoryTest


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