%UnitTest.IKnowRegression
hidden abstract class %UnitTest.IKnowRegression extends %UnitTest.TestCase
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 Inventory
- BatchLoad()
- CreateTestConfig()
- CreateTestDomain()
- DropTestConfig()
- DropTestDomain()
- IsIKnowSupported()
- LogLoadErrors()
Parameters
parameter TESTCONFIGNAME = TestConfig;
parameter TESTDOMAINNAME = TestDomain;
Methods
method BatchLoad(pDomainId As %Integer, ByRef pData, pMessage As %String = "Processing batch") as %Status
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 IsIKnowSupported()
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
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- AssertEqualsViaMacro()
- AssertFailureViaMacro()
- AssertFilesSQLUnorderedSameViaMacro()
- AssertFilesSameViaMacro()
- AssertNotEqualsViaMacro()
- AssertNotTrueViaMacro()
- AssertSkippedViaMacro()
- AssertStatusEqualsViaMacro()
- AssertStatusNotOKViaMacro()
- AssertStatusOKViaMacro()
- AssertSuccessViaMacro()
- AssertTrueViaMacro()
- IsFileOrderSame()
- IsFileSame()
- LogMessage()
- OnAfterAllTests()
- OnAfterOneTest()
- OnBeforeAllTests()
- OnBeforeOneTest()
- getline()
- parseSQLFile()