Skip to main content

%UnitTest.Result.TestAssert

Class %UnitTest.Result.TestAssert Extends (%Persistent, %XML.Adaptor) [ Final, Owner = {%Developer}, System = 4 ]

Object and SQL projection of a UnitTest TestAssert

Properties

Counter

Property Counter As %Integer;

The index of the TestAssert

Status

Property Status As %Integer(DISPLAYLIST = ",failed,passed,skipped", VALUELIST = ",0,1,2");

The Status of the TestAssert

Action

Property Action As %String;

The name of the action of the TestAssert

Description

Property Description As %String;

The description of the TestAssert

Location

Property Location As %String;

The location of the TestAssert in the source document in label[+offset]^[|"ns"|]doc.ext format

TestMethod

Relationship TestMethod As %UnitTest.Result.TestMethod [ Cardinality = parent, Inverse = TestAsserts ];

The parent TestMethod containing this TestAssert

Methods

FileIndicesRecursive

ClassMethod FileIndicesRecursive(id) As %Status