@java.lang.SuppressWarnings("unused") public interface ScreenTest
A test harness for screen rendering. Does internal rendering without HTTP request/response
Modifiers | Name | Description |
---|---|---|
interface |
ScreenTest.ScreenTestRender |
Type Params | Return Type | Name and description |
---|---|---|
|
public ScreenTest |
baseLinkUrl(java.lang.String baseLinkUrl)
|
|
public ScreenTest |
baseScreenPath(java.lang.String screenPath) A screen path prepended to the screenPath used for all subsequent render() calls |
|
public ScreenTest |
encoding(java.lang.String characterEncoding)
|
|
public long |
getErrorCount() |
|
public java.util.List<java.lang.String> |
getNoRequiredParameterPaths(java.util.Set<java.lang.String> screensToSkip) Get screen name paths to all screens with no required parameters under the rootScreen and (if specified) baseScreenPath |
|
public long |
getRenderCount() |
|
public long |
getRenderTotalChars() |
|
public long |
getStartTime() |
|
public ScreenTest |
macroTemplate(java.lang.String macroTemplateLocation)
|
|
public ScreenTestRender |
render(java.lang.String screenPath, java.util.Map<java.lang.String, java.lang.Object> parameters, java.lang.String requestMethod) Test render a screen. |
|
public void |
renderAll(java.util.List<java.lang.String> screenPathList, java.util.Map<java.lang.String, java.lang.Object> parameters, java.lang.String requestMethod) |
|
public ScreenTest |
renderMode(java.lang.String outputType)
|
|
public ScreenTest |
rootScreen(java.lang.String screenLocation) Location of the root XML Screen file to render |
|
public ScreenTest |
servletContextPath(java.lang.String scp)
|
|
public ScreenTest |
skipJsonSerialize(boolean skip) Calls to WebFacade.sendJsonResponse will not be serialized, use along with ScreenTestRender.getJsonObject() |
|
public ScreenTest |
webappName(java.lang.String wan)
|
A screen path prepended to the screenPath used for all subsequent render() calls
Get screen name paths to all screens with no required parameters under the rootScreen and (if specified) baseScreenPath
Test render a screen.
screenPath
- Path from rootScreen in the sub-screen hierarchyparameters
- Map with name/value pairs to use as if they were URL or body parametersrequestMethod
- The HTTP request method to use when selecting a transition (defaults to get)
Location of the root XML Screen file to render
Calls to WebFacade.sendJsonResponse will not be serialized, use along with ScreenTestRender.getJsonObject()