|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.TestCase org.jboss.portal.test.identity.DBUserTestCase
Field Summary | |
private DataSourceSupport.Config |
dsCfg
. |
private HibernateSupport |
hibernate
. |
private DBRoleModuleImpl |
roleModule
. |
private TestRuntimeContext |
runtimeContext
. |
private DBUserModuleImpl |
userModule
. |
private UserTest |
utc
. |
Constructor Summary | |
DBUserTestCase(DataSourceSupport.Config dsCfg)
|
|
DBUserTestCase(java.util.Map parametrization)
|
Method Summary | |
void |
begin()
|
void |
commit()
|
HibernateSupport |
getHibernate()
|
java.lang.String |
getName()
|
void |
setHibernate(HibernateSupport hibernate)
|
protected void |
setUp()
|
static TestSuite |
suite()
|
protected void |
tearDown()
|
void |
testCountUser()
|
void |
testCreateRole()
|
void |
testCreateUser()
|
void |
testDynamicProperty()
|
void |
testFindRoleMembers()
|
void |
testFindRoles()
|
void |
testFindUser1()
|
void |
testFindUser2()
|
void |
testFindUsers()
|
void |
testFindUsersUsingFilter()
|
void |
testRemoveNonExistingRole()
|
void |
testRemoveRole()
|
void |
testRemoveUser()
|
void |
testStaticProperty()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private TestRuntimeContext runtimeContext
private HibernateSupport hibernate
private UserTest utc
private DBUserModuleImpl userModule
private DBRoleModuleImpl roleModule
private DataSourceSupport.Config dsCfg
Constructor Detail |
public DBUserTestCase(java.util.Map parametrization)
public DBUserTestCase(DataSourceSupport.Config dsCfg)
Method Detail |
public static TestSuite suite() throws java.lang.Exception
java.lang.Exception
public HibernateSupport getHibernate()
public void setHibernate(HibernateSupport hibernate)
public java.lang.String getName()
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected void tearDown() throws java.lang.Exception
java.lang.Exception
public void begin()
begin
in interface UserTest.Context
public void commit()
commit
in interface UserTest.Context
public void testFindUsersUsingFilter() throws java.lang.Exception
java.lang.Exception
public void testFindUser1() throws java.lang.Exception
java.lang.Exception
public void testFindUser2() throws java.lang.Exception
java.lang.Exception
public void testFindUsers() throws java.lang.Exception
java.lang.Exception
public void testCreateUser() throws java.lang.Exception
java.lang.Exception
public void testCreateRole() throws java.lang.Exception
java.lang.Exception
public void testCountUser() throws java.lang.Exception
java.lang.Exception
public void testRemoveNonExistingRole() throws java.lang.Exception
java.lang.Exception
public void testRemoveRole() throws java.lang.Exception
java.lang.Exception
public void testRemoveUser() throws java.lang.Exception
java.lang.Exception
public void testFindRoles() throws java.lang.Exception
java.lang.Exception
public void testFindRoleMembers() throws java.lang.Exception
java.lang.Exception
public void testDynamicProperty() throws java.lang.Exception
java.lang.Exception
public void testStaticProperty() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |