站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

V1ProducerBaseTest - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp.v1.producer
Class V1ProducerBaseTest

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.wsrp.WSRPBaseTest
          extended byorg.jboss.portal.test.wsrp.WSRPProducerBaseTest
              extended byorg.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

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.test.wsrp.WSRPBaseTest
WSRPBaseTest.DecoratedObject, WSRPBaseTest.Decorator
 
Field Summary
protected  WSRP_v1_Markup_PortType markupService
           
protected  WSRP_v1_PortletManagement_PortType portletManagementService
           
protected  WSRP_v1_Registration_PortType registrationService
           
protected  WSRP_v1_ServiceDescription_PortType serviceDescriptionService
           
 
Fields inherited from class org.jboss.portal.test.wsrp.WSRPProducerBaseTest
producer, serviceFactory
 
Fields inherited from class org.jboss.portal.test.wsrp.WSRPBaseTest
 
Constructor Summary
  V1ProducerBaseTest()
           
protected V1ProducerBaseTest(java.lang.String name)
           
 
Method Summary
protected static void assertEquals(MarkupType expected, MarkupType tested)
          === asserts === *
protected static void assertEquals(java.lang.String message, LocalizedString expected, LocalizedString tested)
           
 void checkBasicPortletDescription(PortletDescription desc, java.lang.String handle)
          Checks that the specified portlet description corresponds to the expected description of test-basic-portlet.
protected  ServiceDescription checkServiceDescriptionWithOnlyBasicPortlet(GetServiceDescription gs)
           
protected  RegistrationData createBaseRegData()
           
protected  GetServiceDescription getNoRegistrationServiceDescriptionRequest()
           
protected  PropertyDescription initRegistrationInfo()
           
protected  RegistrationContext registerConsumer()
           
protected  void resetRegistrationInfo()
           
 void setUp()
          Make it accessible from outter packages.
protected  void tearDown()
           
 
Methods inherited from class org.jboss.portal.test.wsrp.WSRPProducerBaseTest
getProducer, getServiceFactory, setProducer, setServiceFactory
 
Methods inherited from class org.jboss.portal.test.wsrp.WSRPBaseTest
assertEquals, assertEquals, assertString1ContainsString2, deploy, log, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

V1ProducerBaseTest

public V1ProducerBaseTest()
                   throws java.lang.Exception

V1ProducerBaseTest

protected V1ProducerBaseTest(java.lang.String name)
                      throws java.lang.Exception
Method Detail

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 PortletDescription
handle - 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)