当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
V1ProducerBaseTest - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.wsrp.v1.producer
Class V1ProducerBaseTest
java.lang.Object
TestCase
org.jboss.portal.test.wsrp.WSRPBaseTest
org.jboss.portal.test.wsrp.WSRPProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.V1ProducerBaseTest
- Direct Known Subclasses:
- NeedPortletHandleTest, RegistrationTestCase, ServiceDescriptionTestCase
- public abstract class V1ProducerBaseTest
- extends WSRPProducerBaseTest
- Since:
- 2.4
- Version:
- $Revision: 5493 $
- Author:
- Chris Laprun
- See Also:
- Serialized Form
Fields inherited from class org.jboss.portal.test.wsrp.WSRPBaseTest |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registrationService
protected WSRP_v1_Registration_PortType registrationService
serviceDescriptionService
protected WSRP_v1_ServiceDescription_PortType serviceDescriptionService
markupService
protected WSRP_v1_Markup_PortType markupService
portletManagementService
protected WSRP_v1_PortletManagement_PortType portletManagementService
V1ProducerBaseTest
public V1ProducerBaseTest()
throws java.lang.Exception
V1ProducerBaseTest
protected V1ProducerBaseTest(java.lang.String name)
throws java.lang.Exception
setUp
public void setUp()
throws java.lang.Exception
- Description copied from class:
WSRPBaseTest
- Make it accessible from outter packages.
- Overrides:
setUp
in class WSRPBaseTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkBasicPortletDescription
public void checkBasicPortletDescription(PortletDescription desc,
java.lang.String handle)
- Checks that the specified portlet description corresponds to the expected description of test-basic-portlet. If
the handle parameter is not null, checks that it corresponds to the specified portlet decription.
- Parameters:
desc
- the tested PortletDescriptionhandle
- the PortletHandle to be checked
checkServiceDescriptionWithOnlyBasicPortlet
protected ServiceDescription checkServiceDescriptionWithOnlyBasicPortlet(GetServiceDescription gs)
throws java.lang.Exception
- Throws:
java.lang.Exception
registerConsumer
protected RegistrationContext registerConsumer()
throws org.jboss.portal.wsrp.core.MissingParametersFault,
org.jboss.portal.wsrp.core.OperationFailedFault,
java.rmi.RemoteException
- Throws:
org.jboss.portal.wsrp.core.MissingParametersFault
org.jboss.portal.wsrp.core.OperationFailedFault
java.rmi.RemoteException
createBaseRegData
protected RegistrationData createBaseRegData()
initRegistrationInfo
protected PropertyDescription initRegistrationInfo()
resetRegistrationInfo
protected void resetRegistrationInfo()
getNoRegistrationServiceDescriptionRequest
protected GetServiceDescription getNoRegistrationServiceDescriptionRequest()
assertEquals
protected static void assertEquals(MarkupType expected,
MarkupType tested)
- === asserts === *
assertEquals
protected static void assertEquals(java.lang.String message,
LocalizedString expected,
LocalizedString tested)