org.apache.james.userrepository
Class ListUsersJdbcRepositoryTest

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

public class ListUsersJdbcRepositoryTest
extends MockUsersRepositoryTest

Test basic behaviours of UsersFileRepository


Field Summary
 
Fields inherited from class org.apache.james.userrepository.MockUsersRepositoryTest
usersRepository
 
Constructor Summary
ListUsersJdbcRepositoryTest()
           
 
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  boolean getPasswordsEnabled()
           
protected  org.apache.james.api.user.UsersRepository getUsersRepository()
          Create the repository to be tested.
 
Methods inherited from class org.apache.james.userrepository.MockUsersRepositoryTest
getAllowMultipleUsersWithDifferentCases, 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

ListUsersJdbcRepositoryTest

public ListUsersJdbcRepositoryTest()
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

getPasswordsEnabled

protected boolean getPasswordsEnabled()
Overrides:
getPasswordsEnabled in class MockUsersRepositoryTest

getCheckCase

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

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

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.