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

MarkupTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp.v1.consumer
Class MarkupTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.wsrp.WSRPBaseTest
          extended byorg.jboss.portal.test.wsrp.WSRPConsumerBaseTest
              extended byorg.jboss.portal.test.wsrp.v1.consumer.V1ConsumerBaseTest
                  extended byorg.jboss.portal.test.wsrp.v1.consumer.MarkupTestCase

public class MarkupTestCase
extends V1ConsumerBaseTest

Since:
2.4 (May 4, 2006)
Version:
$Revision: 5483 $
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
 
Fields inherited from class org.jboss.portal.test.wsrp.WSRPConsumerBaseTest
consumer, producer
 
Fields inherited from class org.jboss.portal.test.wsrp.WSRPBaseTest
 
Constructor Summary
MarkupTestCase()
           
 
Method Summary
private  FragmentResponse checkRenderResult(PortletInvocationResponse response, java.lang.String markup)
           
private  ActionInvocation createActionInvocation(java.lang.String portletHandle)
           
private  RenderInvocation createRenderInvocation(java.lang.String portletHandle)
           
private  RenderInvocation createRenderInvocation(java.lang.String portletHandle, Mode mode, WindowState state, java.lang.String navigationalState)
           
 void testAction()
           
 void testEmptyRender()
           
 void testInitCookie()
           
 void testNullRender()
           
 void testRender()
           
 void testSessionHandling()
           
 
Methods inherited from class org.jboss.portal.test.wsrp.v1.consumer.V1ConsumerBaseTest
checkPortlet, tearDown
 
Methods inherited from class org.jboss.portal.test.wsrp.WSRPConsumerBaseTest
getConsumer, getProducer, setConsumer, setProducer, setUp, testProducerId
 
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
 

Constructor Detail

MarkupTestCase

public MarkupTestCase()
               throws java.lang.Exception
Method Detail

testEmptyRender

public void testEmptyRender()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testNullRender

public void testNullRender()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testRender

public void testRender()
                throws java.lang.Exception
Throws:
java.lang.Exception

testAction

public void testAction()
                throws java.lang.Exception
Throws:
java.lang.Exception

testSessionHandling

public void testSessionHandling()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testInitCookie

public void testInitCookie()
                    throws java.lang.Exception
Throws:
java.lang.Exception

checkRenderResult

private FragmentResponse checkRenderResult(PortletInvocationResponse response,
                                           java.lang.String markup)

createRenderInvocation

private RenderInvocation createRenderInvocation(java.lang.String portletHandle)

createRenderInvocation

private RenderInvocation createRenderInvocation(java.lang.String portletHandle,
                                                Mode mode,
                                                WindowState state,
                                                java.lang.String navigationalState)

createActionInvocation

private ActionInvocation createActionInvocation(java.lang.String portletHandle)