当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
MarkupTestCase - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.wsrp.v1.producer
Class MarkupTestCase
java.lang.Object
TestCase
org.jboss.portal.test.wsrp.WSRPBaseTest
org.jboss.portal.test.wsrp.WSRPProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.V1ProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.NeedPortletHandleTest
org.jboss.portal.test.wsrp.v1.producer.MarkupTestCase
- public class MarkupTestCase
- extends NeedPortletHandleTest
- Since:
- 2.4
- Version:
- $Revision: 5487 $
- 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 |
DEFAULT_VIEW_MARKUP
private static final java.lang.String DEFAULT_VIEW_MARKUP
- See Also:
- Constant Field Values
DEFAULT_MARKUP_PORTLET_WAR
private static final java.lang.String DEFAULT_MARKUP_PORTLET_WAR
- See Also:
- Constant Field Values
MarkupTestCase
public MarkupTestCase()
throws java.lang.Exception
testGetMarkupViewNoSession
public void testGetMarkupViewNoSession()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidGetMarkup
public void testInvalidGetMarkup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupEditNoSession
public void testGetMarkupEditNoSession()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupRenderParameters
public void testGetMarkupRenderParameters()
throws java.lang.Exception
- Throws:
java.lang.Exception
extractLink
private java.lang.String extractLink(java.lang.String markupString,
int fromIndex)
testGetMarkupSession
public void testGetMarkupSession()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkMarkupResponseWithSession
private void checkMarkupResponseWithSession(MarkupResponse response,
int count)
throws java.rmi.RemoteException,
InvalidRegistrationFault,
OperationFailedFault
- Throws:
java.rmi.RemoteException
InvalidRegistrationFault
OperationFailedFault
testPerformBlockingInteractionNoRedirect
public void testPerformBlockingInteractionNoRedirect()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkPBIAndGetNavigationalState
private java.lang.String checkPBIAndGetNavigationalState(java.lang.String symbol)
throws java.lang.Exception
- Throws:
java.lang.Exception
testPerformBlockingInteractionRedirect
public void testPerformBlockingInteractionRedirect()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGMAndPBIInteraction
public void testGMAndPBIInteraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMarkupCaching
public void testMarkupCaching()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupWithDispatcherPortlet
public void testGetMarkupWithDispatcherPortlet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupWithNoContent
public void testGetMarkupWithNoContent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupWithNonStandardLocales
public void testGetMarkupWithNonStandardLocales()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupWithEncodedURLs
public void testGetMarkupWithEncodedURLs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMarkupWithUserContext
public void testGetMarkupWithUserContext()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkMarkupResponse
private MarkupContext checkMarkupResponse(MarkupResponse response,
java.lang.String markupString)
createMarkupRequest
private GetMarkup createMarkupRequest(java.lang.String archiveName)
throws java.lang.Exception
- Creates a valid Markup request.
- Parameters:
archiveName
-
- Returns:
- a basic, valid GetMarkup object representing the markup request
- Throws:
java.lang.Exception
createMarkupRequest
private GetMarkup createMarkupRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception