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

TestHelper - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.theme
Class TestHelper

java.lang.Object
  extended byorg.jboss.portal.test.theme.TestHelper

public class TestHelper
extends java.lang.Object

Version:
$Revision: 5448 $
Author:
Martin Holzner

Nested Class Summary
static class TestHelper.TestContext
           
static class TestHelper.TestHttpServletRequest
           
static class TestHelper.TestHttpServletResponse
           
 
Constructor Summary
TestHelper()
           
 
Method Summary
static PortalLayoutMetaData createLayoutMD()
           
static PageResult createPageResult(AttributeResolver navCtx, java.lang.String pageName, java.util.Map pageProperties, java.util.Map portalProperties, WindowContext[] windows)
           
static PageService createPageService()
           
private static java.io.Reader createRenderSetDescriptor()
           
static RenderSetMetaData createRenderSetMD()
           
static java.util.List createRenderSetMDList()
           
static RuntimeContext createRuntimeContext()
           
static ServerRequest createServerRequest()
           
static WindowNavigationalState createWindowNavigationalState()
           
static ModifiableWindowResult createWindowResult(java.lang.String windowTitle, java.lang.String content)
           
static ModifiableWindowResult createWindowResult(java.lang.String title, java.lang.String content, java.util.Map windowProps)
           
static void destroyPageService(PageService pageService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHelper

public TestHelper()
Method Detail

createPageService

public static PageService createPageService()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

destroyPageService

public static void destroyPageService(PageService pageService)

createRuntimeContext

public static RuntimeContext createRuntimeContext()

createWindowResult

public static ModifiableWindowResult createWindowResult(java.lang.String windowTitle,
                                                        java.lang.String content)

createWindowResult

public static ModifiableWindowResult createWindowResult(java.lang.String title,
                                                        java.lang.String content,
                                                        java.util.Map windowProps)

createWindowNavigationalState

public static WindowNavigationalState createWindowNavigationalState()

createRenderSetMD

public static RenderSetMetaData createRenderSetMD()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

createRenderSetMDList

public static java.util.List createRenderSetMDList()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

createRenderSetDescriptor

private static java.io.Reader createRenderSetDescriptor()
                                                 throws java.io.IOException,
                                                        org.xml.sax.SAXException,
                                                        javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

createLayoutMD

public static PortalLayoutMetaData createLayoutMD()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

createPageResult

public static PageResult createPageResult(AttributeResolver navCtx,
                                          java.lang.String pageName,
                                          java.util.Map pageProperties,
                                          java.util.Map portalProperties,
                                          WindowContext[] windows)

createServerRequest

public static ServerRequest createServerRequest()