DocBook|Search
Class Reference
%UnitTest.Result.TestInstance
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%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
%%OIDGet %AddToSaveSet %AddToSyncSet %BMEBuilt
%BuildIndices %CheckUnique %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
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %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
%ValidateObject BuildIndices FileIndicesRecursive XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property ConfigurationName as %String(MAXLEN="");
Name of the Caché 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 Caché installation 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);