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

UserTestCase - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.identity
Class UserTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portal.test.identity.UserTestCase
All Implemented Interfaces:
junit.framework.Test, UserTest.Context

public class UserTestCase
extends junit.framework.TestCase
implements UserTest.Context


Constructor Summary
UserTestCase(DataSourceSupport.Config dsCfg)
           
 
Method Summary
 void begin()
           
 void commit()
           
 HibernateSupport getHibernate()
           
 java.lang.String getName()
           
 void setHibernate(HibernateSupport hibernate)
           
protected  void setUp()
           
static junit.framework.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 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
 

Constructor Detail

UserTestCase

public UserTestCase(DataSourceSupport.Config dsCfg)
Method Detail

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