HS.Test.TestCase
class HS.Test.TestCase extends HS.HC.Test.TestCase
HealthShare aware unit testing class. See also HS.Test.ManagerDifferences from %UnitTest.TestCase
- Test* methods are executed in order of definition, not alphabetically
- A single session is maintained for each test case
- Can be called directly from the command line using the Run() method
- Test* methods, that are invoked by the framework. Typically, these methods do a task and check the results.
- A series of public class methods for performing a task. These are intended to be called from other test case classes or the command line
- Private methods for supporting logic
Method Inventory
Methods
method EnsureDocumentsExist(pPatientKey As %String = "", Output pErrors As HS.Types.IHE.Errors, pDocumentKeys...) as %Status
Ensure the given documents exist for a patient and are cached in the session
method EnsurePatientExists(pPatientKey As %String = "", Output pErrors As HS.Types.IHE.Errors) as %Status
Ensure the given patient exists in the MPI and is cached in the session
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- AssertEqualsViaMacro()
- AssertFailureViaMacro()
- AssertFilesSQLUnorderedSameViaMacro()
- AssertFilesSameViaMacro()
- AssertNotEqualsViaMacro()
- AssertNotTrueViaMacro()
- AssertSkippedViaMacro()
- AssertStatusEqualsViaMacro()
- AssertStatusNotOKViaMacro()
- AssertStatusOKViaMacro()
- AssertSuccessViaMacro()
- AssertTrueViaMacro()
- ChangeToHub()
- Checkout()
- CleanupProductionChanges()
- CreateTestClass()
- FindAuditRecords()
- FindHighAuditID()
- GetClone()
- GetLastEnsembleSessionID()
- GetObject()
- GetOrCreatePatient()
- GetProductionItemName()
- GetPropertyList()
- GetScript()
- GetXDataAsStream()
- GetXDataAsStreamWithSubstitutions()
- LoadObject()
- LogError()
- LogMessage()
- LogResults()
- LookupGatewayService()
- MergeErrors()
- MessagesForItem()
- OnAfterAllTests()
- OnAfterOneTest()
- OnBeforeAllTests()
- OnBeforeOneTest()
- OverrideObject()
- ResolveObject()
- ResolveObjectProperties()
- ResponseContainsText()
- Run()
- StreamEquals()
- Transformer()
- UnitTest()
- XDataAsObject()
- XMLGlobalPatientOID()
- xmlCanonical()
- xmlDump()
- xmlDumpStream()
- xmlExportCanonical()
- xmlExportWriter()