Home > Class Reference > ENSLIB namespace > %UnitTest.Result.TestSuite

%UnitTest.Result.TestSuite

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

SQL Table Name: %UnitTest_Result.TestSuite

Object and SQL projection of a UnitTest TestSuite

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Duration as %Numeric (SCALE = 6);
Duration of the execution of the TestSuite, in seconds
Property methods: DurationDisplayToLogical(), DurationGet(), DurationGetStored(), DurationIsValid(), DurationLogicalToDisplay(), DurationNormalize(), DurationSet(), DurationXSDToLogical()
property ErrorAction as %String;
If the Status is failed, this is the action that logged the error
Property methods: ErrorActionDisplayToLogical(), ErrorActionGet(), ErrorActionGetStored(), ErrorActionIsValid(), ErrorActionLogicalToDisplay(), ErrorActionLogicalToOdbc(), ErrorActionNormalize(), ErrorActionSet()
property ErrorDescription as %String;
If the Status is failed, this is the description of the error
Property methods: ErrorDescriptionDisplayToLogical(), ErrorDescriptionGet(), ErrorDescriptionGetStored(), ErrorDescriptionIsValid(), ErrorDescriptionLogicalToDisplay(), ErrorDescriptionLogicalToOdbc(), ErrorDescriptionNormalize(), ErrorDescriptionSet()
property Name as %String [ Required ];
Name of the TestSuite
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Status as %Integer (DISPLAYLIST = ",failed,passed,skipped", VALUELIST = ",0,1,2");
The status of the TestSuite.
Property methods: StatusDisplayToLogical(), StatusGet(), StatusGetStored(), StatusIsValid(), StatusLogicalToDisplay(), StatusNormalize(), StatusSet(), StatusXSDToLogical()
relationship TestCases as array of %UnitTest.Result.TestCase [ InitialExpression = $listbuild("%UnitTest.Result.TestCase","TestSuite",+$this,"children",1,1) , Transient , Inverse = TestSuite , Cardinality = children ];
List of TestCases in this TestSuite
Property methods: TestCasesGet(), TestCasesGetObject(), TestCasesGetObjectId(), TestCasesGetSwizzled(), TestCasesIsEmpty(), TestCasesIsValid(), TestCasesNewObject(), TestCasesRClose(), TestCasesRExec(), TestCasesRFetch(), TestCasesRelate(), TestCasesSQLCompute(), TestCasesSet(), TestCasesUnRelate()
relationship TestInstance as %UnitTest.Result.TestInstance [ Required , Inverse = TestSuites , Cardinality = parent ];
The parent TestInstance containing this TestSuite
Property methods: TestInstanceCheck(), TestInstanceDelete(), TestInstanceGet(), TestInstanceGetObject(), TestInstanceGetObjectId(), TestInstanceGetStored(), TestInstanceGetSwizzled(), TestInstanceIsValid(), TestInstanceNewObject(), TestInstanceOnDelete(), TestInstanceRClose(), TestInstanceRExec(), TestInstanceRFetch(), TestInstanceRelate(), TestInstanceSQLCompute(), TestInstanceSet(), TestInstanceSetObject(), TestInstanceSetObjectId(), TestInstanceUnRelate(), TestInstanceUnSwizzle()

Methods (Including Private)

classmethod FileIndicesRecursive(id) as %Status

Indexes

index (IdKeyIndex on Name) [IdKey, Type = key];
Index methods: IdKeyIndexCheck(), IdKeyIndexDelete(), IdKeyIndexExists(), IdKeyIndexOpen(), IdKeyIndexSQLCheckUnique(), IdKeyIndexSQLExists(), IdKeyIndexSQLFindPKeyByConstraint(), IdKeyIndexSQLFindRowIDByConstraint()
index (idxName on Name);
Index methods: idxNameExists()

Inherited Members

Inherited Methods (Including Private)