Class Reference
%UnitTest.Result.TestCase
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%UnitTest] >  [Result] >  [TestCase]
Private  Storage

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

Object and SQL projection of a UnitTest TestCase

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
7 1 2


Summary

Properties
Duration ErrorAction ErrorDescription Name
Status TestMethods TestSuite

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 FileIndicesRecursive XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


Properties

• property Duration as %Numeric(SCALE=6);
Duration of the execution of the TestCase, in seconds
• property ErrorAction as %String;
If the Status is failed, this is the action that logged the error
• property ErrorDescription as %String;
If the Status is failed, this is the description of the error
• property Name as %String;
Name of the TestCase
• property Status as %Integer(DISPLAYLIST=",failed,passed,skipped",VALUELIST=",0,1,2");
The status of the TestCase.
• relationship TestMethods as %UnitTest.Result.TestMethod [ Inverse = TestCase,Cardinality = children ];
List of TestMethods in this TestCase
• relationship TestSuite as %UnitTest.Result.TestSuite [ Inverse = TestCases,Cardinality = parent ];
The parent TestSuite containing this TestCase

Methods

• classmethod FileIndicesRecursive(id) as %Status

Indices

• index (IdKeyIndex on Name) [IdKey];
• index (idxName on Name);