%UnitTest.Result.TestCase
Class %UnitTest.Result.TestCase Extends (%Persistent, %XML.Adaptor) [ Final, Owner = {%Developer}, System = 4 ]
Object and SQL projection of a UnitTest TestCase
Properties
Name
Property Name As %String;
Name of the TestCase
Status
Property Status As %Integer(DISPLAYLIST = ",failed,passed,skipped", VALUELIST = ",0,1,2");
The status of the TestCase.
Duration
Property Duration As %Numeric(SCALE = 6);
Duration of the execution of the TestCase, in seconds
ErrorAction
Property ErrorAction As %String;
If the Status is failed, this is the action that logged the error
ErrorDescription
Property ErrorDescription As %String;
If the Status is failed, this is the description of the error
TestSuite
Relationship TestSuite As %UnitTest.Result.TestSuite [ Cardinality = parent, Inverse = TestCases ];
The parent TestSuite containing this TestCase
TestMethods
Relationship TestMethods As %UnitTest.Result.TestMethod [ Cardinality = children, Inverse = TestCase ];
List of TestMethods in this TestCase
Methods
FileIndicesRecursive
ClassMethod FileIndicesRecursive(id) As %Status