Skip to main content

%UnitTest.Result.TestAssert

persistent class %UnitTest.Result.TestAssert extends %Library.Persistent, %XML.Adaptor

SQL Table Name: %UnitTest_Result.TestAssert

Object and SQL projection of a UnitTest TestAssert

Property Inventory

Method Inventory

Properties

property Action as %String;
The name of the action of the TestAssert
Property methods: ActionDisplayToLogical(), ActionGet(), ActionGetStored(), ActionIsValid(), ActionLogicalToDisplay(), ActionLogicalToOdbc(), ActionNormalize(), ActionSet()
property Counter as %Integer [ Required ];
The index of the TestAssert
Property methods: CounterDisplayToLogical(), CounterGet(), CounterGetStored(), CounterIsValid(), CounterLogicalToDisplay(), CounterNormalize(), CounterSet(), CounterXSDToLogical()
property Description as %String;
The description of the TestAssert
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property Location as %String;
The location of the TestAssert in the source document in label[+offset]^[|"ns"|]doc.ext format
Property methods: LocationDisplayToLogical(), LocationGet(), LocationGetStored(), LocationIsValid(), LocationLogicalToDisplay(), LocationLogicalToOdbc(), LocationNormalize(), LocationSet()
property Status as %Integer (DISPLAYLIST = ",failed,passed,skipped", VALUELIST = ",0,1,2");
The Status of the TestAssert
Property methods: StatusDisplayToLogical(), StatusGet(), StatusGetStored(), StatusIsValid(), StatusLogicalToDisplay(), StatusNormalize(), StatusSet(), StatusXSDToLogical()
relationship TestMethod as %UnitTest.Result.TestMethod [ Required , Inverse = TestAsserts , Cardinality = parent ];
The parent TestMethod containing this TestAssert
Property methods: TestMethodGet(), TestMethodGetObject(), TestMethodGetObjectId(), TestMethodGetStored(), TestMethodGetSwizzled(), TestMethodIsValid(), TestMethodNewObject(), TestMethodOnDelete(), TestMethodRClose(), TestMethodRExec(), TestMethodRFetch(), TestMethodRelate(), TestMethodSQLCompute(), TestMethodSet(), TestMethodSetObject(), TestMethodSetObjectId(), TestMethodUnRelate(), TestMethodUnSwizzle()

Methods

classmethod FileIndicesRecursive(id) as %Status

Indexes

index (IdKeyIndex on Counter) [IdKey, Type = key];
Index methods: IdKeyIndexCheck(), IdKeyIndexDelete(), IdKeyIndexExists(), IdKeyIndexOpen(), IdKeyIndexSQLCheckUnique(), IdKeyIndexSQLExists(), IdKeyIndexSQLFindPKeyByConstraint(), IdKeyIndexSQLFindRowIDByConstraint()
index (idxStatus on Status);
Index methods: idxStatusExists()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%UnitTest.Result.TestAssert)

{%%PARENT}(ID)
=
Status
Action
Description
Location
FeedbackOpens in a new tab