%UnitTest.IKnowRegressionhidden abstract class %UnitTest.IKnowRegression
This class provides utility methods for unit tests based on the Aviation Event demo data. Both the classes and data from SAMPLES are stored separately in Perforce, ensuring the test can be run on an instance that didn't include the SAMPLES namespace.
method CreateTestConfig(ByRef pConfigName As %String = ..#TESTCONFIGNAME, pLanguages As %String, pUserDict As %String = "") as %Status
method CreateTestDomain(Output pDomainId As %Integer, pDomainName As %String = ..#TESTDOMAINNAME, pBuildFlags As %String = "") as %Status
method DropTestConfig(pConfigName As %String = ..#TESTCONFIGNAME) as %Status
method DropTestDomain(pDomainName As %String = ..#TESTDOMAINNAME) as %Status
method IsIKnowSupported() as %Boolean
This method needs to be invoked at the start of all Test* methods using iKnow. It returns 1 if iKnow is supported (primarily just a check if the OS isn't VMS), or 0 otherwise, calling $$$AssertSkipped along the way. classmethod LogLoadErrors(pDomainId As %Integer, pLoader As %iKnow.Source.Loader = "", pMaxErrors As %Integer = 10) as %Status