当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
UserTestCase - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.identity
Class UserTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.identity.UserTestCase
- All Implemented Interfaces:
- junit.framework.Test, UserTest.Context
- public class UserTestCase
- extends junit.framework.TestCase
- implements UserTest.Context
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, run, run, runBare, runTest, setName, toString |
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, wait, wait, wait |
UserTestCase
public UserTestCase(DataSourceSupport.Config dsCfg)
suite
public static junit.framework.TestSuite suite()
throws java.lang.Exception
- Throws:
java.lang.Exception
getHibernate
public HibernateSupport getHibernate()
setHibernate
public void setHibernate(HibernateSupport hibernate)
getName
public java.lang.String getName()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
begin
public void begin()
- Specified by:
begin
in interface UserTest.Context
commit
public void commit()
- Specified by:
commit
in interface UserTest.Context
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
testDynamicProperty
public void testDynamicProperty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStaticProperty
public void testStaticProperty()
throws java.lang.Exception
- Throws:
java.lang.Exception