当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
AbstractStatefulPortletInvokerTestCase - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.portlet.state
Class AbstractStatefulPortletInvokerTestCase
java.lang.Object
TestCase
org.jboss.portal.test.portlet.state.AbstractStatefulPortletInvokerTestCase
- Direct Known Subclasses:
- ConsumerStatefulPortletInvokerTestCase, ProducerStatefulPortletInvokerTestCase
- public abstract class AbstractStatefulPortletInvokerTestCase
- extends TestCase
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStatefulPortletInvokerTestCase
public AbstractStatefulPortletInvokerTestCase()
getPortlet
protected abstract Portlet getPortlet(java.lang.Object portletRef)
throws PortletInvokerException
- Throws:
PortletInvokerException
getPortletId
protected abstract java.lang.String getPortletId(java.lang.Object portletRef)
throws PortletInvokerException
- Throws:
PortletInvokerException
createPOPRef
protected abstract java.lang.Object createPOPRef(PortletSupport portletSupport)
throws PortletInvokerException
- Throws:
PortletInvokerException
createNonExistingPOPRef
protected abstract java.lang.Object createNonExistingPOPRef()
throws PortletInvokerException
- Throws:
PortletInvokerException
createInvalidPOPRef
protected abstract java.lang.Object createInvalidPOPRef()
throws PortletInvokerException
- Throws:
PortletInvokerException
createLocalClone
protected abstract java.lang.Object createLocalClone(java.lang.Object portletRef)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyClone
protected abstract void destroyClone(java.lang.Object portletRef)
throws java.lang.Exception
- Throws:
java.lang.Exception
createClone
protected abstract java.lang.Object createClone(java.lang.Object portletRef)
throws PortletInvokerException
- Throws:
PortletInvokerException
setProperties
protected abstract java.lang.Object setProperties(java.lang.Object portletRef,
PropertyChange[] changes)
throws PortletInvokerException
- Throws:
PortletInvokerException
getProperties
protected abstract PropertyMap getProperties(java.lang.Object portletRef)
throws PortletInvokerException
- Throws:
PortletInvokerException
getProperties
protected abstract PropertyMap getProperties(java.lang.Object portletRef,
java.util.Set keys)
throws PortletInvokerException
- Throws:
PortletInvokerException
destroyClones
protected abstract java.util.List destroyClones(java.util.List portletRefs)
throws PortletInvokerException
- Throws:
PortletInvokerException
assertNoExistingState
protected abstract void assertNoExistingState()
invoke
protected abstract void invoke(PortletInvocation invocation)
throws PortletInvokerException
- Throws:
PortletInvokerException
createAction
protected abstract ActionInvocation createAction(java.lang.Object portletRef,
AccessMode accessMode)
getImplicitClonedRef
protected abstract java.lang.Object getImplicitClonedRef(ActionInvocation action)
getModifiedPortletRef
protected abstract java.lang.Object getModifiedPortletRef(ActionInvocation action)
createPOPRef
protected final java.lang.Object createPOPRef(PortletInfoSupport portletInfo)
throws PortletInvokerException
- Throws:
PortletInvokerException
createLocalCCPRef
protected final java.lang.Object createLocalCCPRef()
throws java.lang.Exception
- Throws:
java.lang.Exception
createNonExistingLocalCCPRef
protected final java.lang.Object createNonExistingLocalCCPRef()
throws java.lang.Exception
- Throws:
java.lang.Exception
createPOPRef
protected final java.lang.Object createPOPRef()
throws PortletInvokerException
- Throws:
PortletInvokerException
testCloneWithNullContext
public void testCloneWithNullContext()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCloneNonExistingPOP
public void testCloneNonExistingPOP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCloneNonExistingCCP
public void testCloneNonExistingCCP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCloneInvalidPOP
public void testCloneInvalidPOP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testClonePortlet
public void testClonePortlet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetWithNullId
public void testGetWithNullId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetNonExistingPOP
public void testGetNonExistingPOP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetNonExistingCCP
public void testGetNonExistingCCP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetInvalidPOP
public void testGetInvalidPOP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDestroyWithNullId
public void testDestroyWithNullId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDestroyPOP
public void testDestroyPOP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDestroyCCP
public void testDestroyCCP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDestroyNonExistingCCP
public void testDestroyNonExistingCCP()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPropertiesWithNullPortlet
public void testGetPropertiesWithNullPortlet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetNonExistingPOPProperties
public void testGetNonExistingPOPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetInvalidPOPProperties
public void testGetInvalidPOPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetNonExistingCCPProperties
public void testGetNonExistingCCPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPOPWithNullKeys
public void testGetPOPWithNullKeys()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCCPWithNullKeys
public void testGetCCPWithNullKeys()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPOPProperties
public void testGetPOPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCCPProperties
public void testGetCCPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetPropertiesWithNullId
public void testSetPropertiesWithNullId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetPropertiesWithNullProperties
public void testSetPropertiesWithNullProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetPOPProperties
public void testSetPOPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetNonExistingCCPProperties
public void testSetNonExistingCCPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetCCPProperties
public void testSetCCPProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeCloneBeforeWriteWithUpdate
public void testInvokeCloneBeforeWriteWithUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeReadOnlyWithUpdate
public void testInvokeReadOnlyWithUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeReadWriteWithUpdate
public void testInvokeReadWriteWithUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception