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

UserTest - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.identity
Class UserTest

java.lang.Object
  extended byAssert
      extended byorg.jboss.portal.test.identity.UserTest

public class UserTest
extends Assert

Version:
$Revision: 5448 $
Author:
Julien Viet
See Also:
Serialized Form

Nested Class Summary
static interface UserTest.Context
           
 
Field Summary
private  UserTest.Context ctx
          .
private  RoleModule roleModule
          .
private  UserModule userModule
          .
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userModule

private UserModule userModule
.


roleModule

private RoleModule roleModule
.


ctx

private UserTest.Context ctx
.

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