|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.framework.AbstractPortalTestCase
public abstract class AbstractPortalTestCase
| Field Summary | |
|---|---|
protected DataSourceSupport.Config |
dataSourceConfigParameter
. |
protected HibernateSupport |
hibernate
. |
protected TestRuntimeContext |
runtimeContext
. |
| Constructor Summary | |
|---|---|
AbstractPortalTestCase()
|
|
| Method Summary | |
|---|---|
protected void |
configureRuntimeContext(TestRuntimeContext runtimeContext)
Allows sub-classes to further configure the TestRuntimeContext created in setUp. |
protected java.lang.String |
getConfigLocation()
|
protected abstract java.lang.String |
getConfigLocationPrefix()
|
protected java.lang.Object |
getConfigParamValue()
|
DataSourceSupport.Config |
getDataSourceConfigParameter()
|
HibernateSupport |
getHibernate()
|
java.lang.String |
getName()
|
void |
setDataSourceConfigParameter(DataSourceSupport.Config dataSourceConfigParameter)
|
void |
setHibernate(HibernateSupport hibernate)
|
protected void |
setUp()
|
static junit.framework.TestSuite |
suite(java.lang.Class testClass)
|
protected void |
tearDown()
|
| 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 |
| Field Detail |
|---|
protected TestRuntimeContext runtimeContext
protected DataSourceSupport.Config dataSourceConfigParameter
protected HibernateSupport hibernate
| Constructor Detail |
|---|
public AbstractPortalTestCase()
| Method Detail |
|---|
public HibernateSupport getHibernate()
public DataSourceSupport.Config getDataSourceConfigParameter()
public void setDataSourceConfigParameter(DataSourceSupport.Config dataSourceConfigParameter)
public void setHibernate(HibernateSupport hibernate)
public java.lang.String getName()
getName in class junit.framework.TestCase
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void configureRuntimeContext(TestRuntimeContext runtimeContext)
runtimeContext -
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionprotected java.lang.String getConfigLocation()
protected java.lang.Object getConfigParamValue()
public static junit.framework.TestSuite suite(java.lang.Class testClass)
throws java.lang.Exception
java.lang.Exceptionprotected abstract java.lang.String getConfigLocationPrefix()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||