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

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

Object and SQL projection of a UnitTest TestMethod


Parameters Properties Methods Queries Indices ForeignKeys Triggers
7 1 2


Duration ErrorAction ErrorDescription Name
Status TestAsserts TestCase

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


• property Duration as %Numeric(SCALE=6);
Duration of the execution of the TestMethod, 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 TestMethod
• property Status as %Integer(DISPLAYLIST=",failed,passed,skipped",VALUELIST=",0,1,2");
The status of the TestMethod.
• relationship TestAsserts as %UnitTest.Result.TestAssert [ Inverse = TestMethod,Cardinality = children ];
List of TestAsserts in this TestMethod
• relationship TestCase as %UnitTest.Result.TestCase [ Inverse = TestMethods,Cardinality = parent ];
The parent TestCase containing this TestMethod


• classmethod FileIndicesRecursive(id) as %Status


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

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