Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

EnsLib.ITK.Validation.UnitTests

class EnsLib.ITK.Validation.UnitTests extends %UnitTest.TestCase

Property Inventory

Method Inventory

Parameters

parameter ACTIONRESPSUFFIX = Response;
parameter ADDRESSINGFAULT = http://www.w3.org/2005/08/addressing/fault;
parameter ADDRESSINGSOAPFAULT = http://www.w3.org/2005/08/addressing/soap/fault;

Properties

property Fault as %Boolean;
Property methods: FaultDisplayToLogical(), FaultGet(), FaultIsValid(), FaultLogicalToDisplay(), FaultNormalize(), FaultSet()
property Name as %String;
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property RequestSync as %Boolean;
Property methods: RequestSyncDisplayToLogical(), RequestSyncGet(), RequestSyncIsValid(), RequestSyncLogicalToDisplay(), RequestSyncNormalize(), RequestSyncSet()
property ResponseSync as %Boolean;
Property methods: ResponseSyncDisplayToLogical(), ResponseSyncGet(), ResponseSyncIsValid(), ResponseSyncLogicalToDisplay(), ResponseSyncNormalize(), ResponseSyncSet()
property SubDir as %String;
Property methods: SubDirDisplayToLogical(), SubDirGet(), SubDirIsValid(), SubDirLogicalToDisplay(), SubDirLogicalToOdbc(), SubDirNormalize(), SubDirSet()

Methods

method GetLogFile(pInstance As %Integer, pIsRequest As %Boolean) as %String
method OnAfterAllTests() as %Status
Inherited description: Run by RunTest once after all test methods in the test class are run. Can be used to tear down a test environment that was set up by OnBeforeAllTests See example in OnBeforeAllTests.
method OnBeforeAllTests() as %Status
Inherited description: Run by RunTest once before any test methods in the test class are run. Can be used to set up a test environment that will be later cleaned up by OnAfterAllTests.

Example: Setup and Cleanup of an environment:
Method OnBeforeAllTests() As %Status
{
	//do setup stuff here
 	set ^inputMessage = "input message"
	quit $$$OK
}
Method OnAfterAllTests() As %Status
{
	//do clean up stuff here
	kill ^inputMessage
	quit $$$OK
}
method TestCertificate()
method TestConfig()
method TestResponseRelatesTo()
method TestSOAPAction()
method TestTimestamp()
classmethod fixPath(path As %String) as %String

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab