站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

UserTest - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.identity
Class UserTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byorg.jboss.portal.test.identity.UserTest

public class UserTest
extends junit.framework.Assert


Nested Class Summary
static interface UserTest.Context
           
 
Constructor Summary
UserTest()
           
 
Method Summary
 void populate()
           
 void setContext(UserTest.Context ctx)
           
 void setRoleModule(RoleModule roleModule)
           
 void setUserModule(UserModule userModule)
           
 void testCountUser()
           
 void testCreateRole()
           
 void testCreateUser()
           
 void testFindRoleMembers()
           
 void testFindRoles()
           
 void testFindUser1()
           
 void testFindUser2()
           
 void testFindUsers()
           
 void testFindUsersUsingFilter()
           
 void testRemoveNonExistingRole()
           
 void testRemoveRole()
           
 void testRemoveUser()
           
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserTest

public UserTest()
Method Detail

setUserModule

public void setUserModule(UserModule userModule)

setRoleModule

public void setRoleModule(RoleModule roleModule)

setContext

public void setContext(UserTest.Context ctx)

testFindUsersUsingFilter

public void testFindUsersUsingFilter()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testFindUser1

public void testFindUser1()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testFindUser2

public void testFindUser2()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testFindUsers

public void testFindUsers()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testCreateUser

public void testCreateUser()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testCreateRole

public void testCreateRole()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testCountUser

public void testCountUser()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveNonExistingRole

public void testRemoveNonExistingRole()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveRole

public void testRemoveRole()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUser

public void testRemoveUser()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testFindRoles

public void testFindRoles()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testFindRoleMembers

public void testFindRoleMembers()
                         throws java.lang.Exception
Throws:
java.lang.Exception

populate

public void populate()
              throws java.lang.Exception
Throws:
java.lang.Exception