当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
V1ProducerBaseTest - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.wsrp.v1.producer
Class V1ProducerBaseTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.wsrp.WSRPBaseTest
org.jboss.portal.test.wsrp.WSRPProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.V1ProducerBaseTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- NeedPortletHandleTest, RegistrationTestCase, ServiceDescriptionTestCase
- public abstract class V1ProducerBaseTest
- extends WSRPProducerBaseTest
- Since:
- 2.4
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
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
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class WSRPBaseTest
- 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
assertEquals
public void assertEquals(MarkupType expected,
MarkupType tested)
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 void assertEquals(java.lang.String message,
LocalizedString expected,
LocalizedString tested)