Class AbstractUserManagerTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.fulcrum.security.model.test.AbstractUserManagerTest
-
public abstract class AbstractUserManagerTest extends org.apache.fulcrum.testcontainer.BaseUnit5Test
- Author:
- Eric Pugh
-
-
Field Summary
Fields Modifier and Type Field Description protected SecurityService
securityService
protected User
user
protected UserManager
userManager
-
Constructor Summary
Constructors Constructor Description AbstractUserManagerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testAddUser()
void
testAddUserTwiceFails()
void
testAuthenticate()
void
testChangePassword()
void
testCheckExists()
void
testCheckExistsWithString()
void
testCheckUserCaseSensitiveExists()
void
testForcePassword()
void
testGetACL()
void
testGetAllUsers()
void
testGetUserById()
void
testGetUserInstance()
Class to test for User getUserInstance()void
testGetUserInstanceString()
Class to test for User getUserInstance(String)void
testGetUserString()
void
testGetUserStringString()
void
testRemoveUser()
void
testSaveUser()
Need to figure out if save is something we want.. right now it just bloes up if you actually cahnge anything.
-
-
-
Field Detail
-
userManager
protected UserManager userManager
-
securityService
protected SecurityService securityService
-
-
Constructor Detail
-
AbstractUserManagerTest
public AbstractUserManagerTest()
-
-
Method Detail
-
testCheckExists
@Test public void testCheckExists() throws Exception
- Throws:
Exception
-
testCheckExistsWithString
@Test public void testCheckExistsWithString() throws Exception
- Throws:
Exception
-
testGetUserString
@Test public void testGetUserString() throws Exception
- Throws:
Exception
-
testGetUserById
@Test public void testGetUserById() throws Exception
- Throws:
Exception
-
testGetUserStringString
@Test public void testGetUserStringString() throws Exception
- Throws:
Exception
-
testGetAllUsers
@Test public void testGetAllUsers() throws Exception
- Throws:
Exception
-
testAuthenticate
@Test public void testAuthenticate() throws Exception
- Throws:
Exception
-
testChangePassword
@Test public void testChangePassword() throws Exception
- Throws:
Exception
-
testForcePassword
@Test public void testForcePassword() throws Exception
- Throws:
Exception
-
testGetUserInstance
@Test public void testGetUserInstance() throws Exception
Class to test for User getUserInstance()- Throws:
Exception
- generic exception
-
testGetUserInstanceString
@Test public void testGetUserInstanceString() throws Exception
Class to test for User getUserInstance(String)- Throws:
Exception
- generic exception
-
testSaveUser
@Test public void testSaveUser() throws Exception
Need to figure out if save is something we want.. right now it just bloes up if you actually cahnge anything.- Throws:
Exception
- generic exception
-
testGetACL
public void testGetACL() throws Exception
- Throws:
Exception
-
testRemoveUser
public void testRemoveUser() throws Exception
- Throws:
Exception
-
testAddUser
@Test public void testAddUser() throws Exception
- Throws:
Exception
-
testAddUserTwiceFails
public void testAddUserTwiceFails() throws Exception
- Throws:
Exception
-
testCheckUserCaseSensitiveExists
@Test public void testCheckUserCaseSensitiveExists() throws Exception
- Throws:
Exception
-
-