|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.jboss.portal.test.core.PortalBaseTestCase
Base Test Case for Portal Core Contains common methods used by the test framework
Field Summary | |
protected DataSourceSupport.Config |
dsCfg
. |
protected HibernateSupport |
hibernate
. |
protected TestRuntimeContext |
runtimeContext
. |
Constructor Summary | |
PortalBaseTestCase()
|
Method Summary | |
protected abstract java.lang.String |
getConfigLocation()
Override to provide the location of the microcontainer xml |
protected java.util.Set |
getDefaultSecurityConstraints()
|
HibernateSupport |
getHibernate()
|
java.lang.String |
getName()
|
protected java.util.Set |
getSecurityConstraints(java.lang.String perm,
java.lang.String role)
|
protected void |
installDefaultPolicyProvider()
|
void |
setHibernate(HibernateSupport hibernate)
|
protected void |
setUp()
|
protected void |
setUpSubjectForRole(java.lang.String username,
java.lang.String[] roleNames)
|
protected void |
tearDown()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected TestRuntimeContext runtimeContext
protected DataSourceSupport.Config dsCfg
protected HibernateSupport hibernate
Constructor Detail |
public PortalBaseTestCase()
Method Detail |
public HibernateSupport getHibernate()
public void setHibernate(HibernateSupport hibernate)
public java.lang.String getName()
protected java.util.Set getDefaultSecurityConstraints()
protected java.util.Set getSecurityConstraints(java.lang.String perm, java.lang.String role)
protected void installDefaultPolicyProvider()
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected void tearDown() throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String getConfigLocation()
protected void setUpSubjectForRole(java.lang.String username, java.lang.String[] roleNames) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |