Skip to main content

%UnitTest.Result.TestInstance

persistent class %UnitTest.Result.TestInstance extends %Library.Persistent, %XML.Adaptor [ Final ]

SQL Table Name: %UnitTest_Result.TestInstance

Object and SQL projection of a UnitTest TestInstance

Property Inventory

Method Inventory

Properties

property ConfigurationName as %String);
Name of the InterSystems IRIS configuration in which this test was run
Property methods: ConfigurationNameDisplayToLogical(), ConfigurationNameGet(), ConfigurationNameGetStored(), ConfigurationNameIsValid(), ConfigurationNameLogicalToDisplay(), ConfigurationNameLogicalToOdbc(), ConfigurationNameNormalize(), ConfigurationNameSet()
property DateTime as %TimeStamp;
The time when the UnitTest TestInstance finished running
Property methods: DateTimeDisplayToLogical(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeLogicalToXSD(), DateTimeNormalize(), DateTimeOdbcToLogical(), DateTimeSet(), DateTimeXSDToLogical()
property Duration as %Numeric (SCALE = 6);
Total duration of execution of this TestInstance, in seconds
Property methods: DurationDisplayToLogical(), DurationGet(), DurationGetStored(), DurationIsValid(), DurationLogicalToDisplay(), DurationNormalize(), DurationSet(), DurationXSDToLogical()
property InstanceIndex as %Integer [ Required ];
Index of the TestInstance
Property methods: InstanceIndexDisplayToLogical(), InstanceIndexGet(), InstanceIndexGetStored(), InstanceIndexIsValid(), InstanceIndexLogicalToDisplay(), InstanceIndexNormalize(), InstanceIndexSet(), InstanceIndexXSDToLogical()
property MachineName as %String);
Name of the machine on which this test was run
Property methods: MachineNameDisplayToLogical(), MachineNameGet(), MachineNameGetStored(), MachineNameIsValid(), MachineNameLogicalToDisplay(), MachineNameLogicalToOdbc(), MachineNameNormalize(), MachineNameSet()
property Namespace as %String) [ Calculated ];
Namespace in which this test was run
Property methods: NamespaceCompute(), NamespaceDisplayToLogical(), NamespaceGet(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSQLCompute()
relationship TestSuites as array of %UnitTest.Result.TestSuite [ InitialExpression = $listbuild("%UnitTest.Result.TestSuite","TestInstance",+$this,"children",1,1) , Transient , Inverse = TestInstance , Cardinality = children ];
List of the TestSuites in this TestInstance
Property methods: TestSuitesGet(), TestSuitesGetObject(), TestSuitesGetObjectId(), TestSuitesGetSwizzled(), TestSuitesIsEmpty(), TestSuitesIsValid(), TestSuitesNewObject(), TestSuitesRClose(), TestSuitesRExec(), TestSuitesRFetch(), TestSuitesRelate(), TestSuitesSQLCompute(), TestSuitesSet(), TestSuitesUnRelate()
property UserFields as array of %String);
Additional information, like platform, product version, etc. for each TestInstance. This information is indexed so users can query using this information.
Property methods: UserFieldsBuildValueArray(), UserFieldsCollectionToDisplay(), UserFieldsCollectionToOdbc(), UserFieldsDisplayToCollection(), UserFieldsDisplayToLogical(), UserFieldsGet(), UserFieldsGetObject(), UserFieldsGetObjectId(), UserFieldsGetStored(), UserFieldsGetSwizzled(), UserFieldsIsValid(), UserFieldsLogicalToDisplay(), UserFieldsLogicalToOdbc(), UserFieldsNormalize(), UserFieldsOdbcToCollection(), UserFieldsSet(), UserFieldsSetObject(), UserFieldsSetObjectId()
property UserParam as %String);
Additional information passed in by uer at runtime
Property methods: UserParamDisplayToLogical(), UserParamGet(), UserParamGetStored(), UserParamIsValid(), UserParamLogicalToDisplay(), UserParamLogicalToOdbc(), UserParamNormalize(), UserParamSet()
property Version as %String);
$zversion value of the InterSystems IRIS instance in which this test was run
Property methods: VersionDisplayToLogical(), VersionGet(), VersionGetStored(), VersionIsValid(), VersionLogicalToDisplay(), VersionLogicalToOdbc(), VersionNormalize(), VersionSet()

Methods

classmethod BuildIndices() as %Status
classmethod FileIndicesRecursive(id) as %Status

Indexes

index (DateTime on DateTime);
Index methods: DateTimeDisplayToLogical(), DateTimeExists(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeLogicalToXSD(), DateTimeNormalize(), DateTimeOdbcToLogical(), DateTimeSet(), DateTimeXSDToLogical()
index (IdKeyIndex on InstanceIndex) [IdKey, Type = key];
Index methods: IdKeyIndexCheck(), IdKeyIndexDelete(), IdKeyIndexExists(), IdKeyIndexOpen(), IdKeyIndexSQLCheckUnique(), IdKeyIndexSQLExists(), IdKeyIndexSQLFindPKeyByConstraint(), IdKeyIndexSQLFindRowIDByConstraint()
index (Location on MachineName,ConfigurationName,Namespace);
Index methods: LocationExists()
index (UserFields on UserFields(KEYS),UserFields(ELEMENTS));
Index methods: UserFieldsBuildValueArray(), UserFieldsCollectionToDisplay(), UserFieldsCollectionToOdbc(), UserFieldsDisplayToCollection(), UserFieldsDisplayToLogical(), UserFieldsGet(), UserFieldsGetObject(), UserFieldsGetObjectId(), UserFieldsGetStored(), UserFieldsGetSwizzled(), UserFieldsIsValid(), UserFieldsLogicalToDisplay(), UserFieldsLogicalToOdbc(), UserFieldsNormalize(), UserFieldsOdbcToCollection(), UserFieldsSet(), UserFieldsSetObject(), UserFieldsSetObjectId()
index (UserParam on UserParam);
Index methods: UserParamDisplayToLogical(), UserParamExists(), UserParamGet(), UserParamGetStored(), UserParamIsValid(), UserParamLogicalToDisplay(), UserParamLogicalToOdbc(), UserParamNormalize(), UserParamSet()
index (Version on Version);
Index methods: VersionDisplayToLogical(), VersionExists(), VersionGet(), VersionGetStored(), VersionIsValid(), VersionLogicalToDisplay(), VersionLogicalToOdbc(), VersionNormalize(), VersionSet()

Inherited Members

Inherited Methods

Storage

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

^UnitTest.Result(ID)
=
DateTime
Duration
MachineName
ConfigurationName
Version
namespaceStored
UserParam
UserFields
FeedbackOpens in a new tab