Skip to main content

%UnitTest.Portal.standardPage

Class %UnitTest.Portal.standardPage Extends %ZEN.Portal.standardPage [ System = 4 ]

Parameters

HOMEPAGE

Parameter HOMEPAGE = "%25CSP.Portal.Home.zen";

URL of home page (used in links).

RESOURCE

Parameter RESOURCE As STRING = "%Development";

PAGENAME

Parameter PAGENAME = "UnitTest Report Page";

Name of this page.

Properties

IndexId

Property IndexId As %ZEN.Datatype.integer(ZENURL = "Index");

XDatas

Style

XData Style

Methods

onPopupAction

ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]

This client event is fired when the a popup page launched from this page fires an action.

Method %GetLocatorLinks(Output pLink) As %Status

Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)

GetTestStatus

ClassMethod GetTestStatus(index, suite, case, method, action) As %Integer

return value 0 = failed, 1 = passed, 2 = skipped

GetTestState

ClassMethod GetTestState(level) As %String

GetTestColor

ClassMethod GetTestColor(level) As %String

%OnPreHTTP

ClassMethod %OnPreHTTP() As %Boolean [ ServerOnly = 1 ]