This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new window

For information on migrating to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


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 (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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 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: TestMethodCheck(), TestMethodDelete(), TestMethodGet(), TestMethodGetObject(), TestMethodGetObjectId(), TestMethodGetStored(), TestMethodGetSwizzled(), TestMethodIsValid(), TestMethodNewObject(), TestMethodOnDelete(), TestMethodRClose(), TestMethodRExec(), TestMethodRFetch(), TestMethodRelate(), TestMethodSQLCompute(), TestMethodSet(), TestMethodSetObject(), TestMethodSetObjectId(), TestMethodUnRelate(), TestMethodUnSwizzle()

Methods (Including Private)

classmethod FileIndicesRecursive(id) as %Status


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 (Including Private)


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

FeedbackOpens in a new window