当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
RoleModelTestCase - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.test.core
Class RoleModelTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.core.AbstractHibernateTestCase
org.jboss.portal.test.core.ModelTestCase
org.jboss.portal.test.core.RoleModelTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class RoleModelTestCase
- extends ModelTestCase
Methods inherited from class org.jboss.portal.test.core.AbstractHibernateTestCase |
beginTransaction, closeSession, commitTransaction, createConfiguration, createSchema, createSessionFactory, destroyConfiguration, destroySchema, destroySessionFactory, getCurrentSession, openSession, rollbackTransaction, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, 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 |
RoleModelTestCase
public RoleModelTestCase(java.lang.String name)
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
protected void populate()
throws java.lang.Exception
- Overrides:
populate
in class ModelTestCase
- Throws:
java.lang.Exception