Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%UnitTest] >  [Result] >  [TestInstance]
Private  Storage   

persistent class %UnitTest.Result.TestInstance extends %Persistent, %XML.Adaptor

Object and SQL projection of a UnitTest TestInstance

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
11 2 6


Summary

Properties
ConfigurationName DateTime Duration InstanceIndex
MachineName Namespace TestSuites UserFields
UserParam Version

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject BuildIndices
FileIndicesRecursive XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Properties

• property ConfigurationName as %String(MAXLEN="");
Name of the InterSystems IRIS configuration in which this test was run
• property DateTime as %TimeStamp;
The time when the UnitTest TestInstance finished running
• property Duration as %Numeric(SCALE=6);
Total duration of execution of this TestInstance, in seconds
• property InstanceIndex as %Integer;
Index of the TestInstance
• property MachineName as %String(MAXLEN="");
Name of the machine on which this test was run
• property Namespace as %String(MAXLEN="") [ Calculated ];
Namespace in which this test was run
• relationship TestSuites as %UnitTest.Result.TestSuite [ Inverse = TestInstance,Cardinality = children ];
List of the TestSuites in this TestInstance
• property UserFields as array of %String(MAXLEN="");
Additional information, like platform, product version, etc. for each TestInstance. This information is indexed so users can query using this information.
• property UserParam as %String(MAXLEN="");
Additional information passed in by uer at runtime
• property Version as %String(MAXLEN="");
$zversion value of the InterSystems IRIS instance in which this test was run

Methods

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

Indices

•index (DateTime on DateTime);
•index (IdKeyIndex on InstanceIndex) [IdKey];
•index (Location on MachineName,ConfigurationName,Namespace);
•index (UserFields on UserFields(KEYS),UserFields(ELEMENTS));
•index (UserParam on UserParam);
•index (Version on Version);


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.