OpenEdge.ABLUnit.Writer.ResultsXmlWriter
- Last Updated: November 12, 2026
- 3 minute read
- OpenEdge
- Version 13.1
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| AddChildEntities (TestEntity, handle) |
/* Writes the details of a particular test case into the given handle
@param TestEntity The test entity being written
@param handle The parent XML node */
|
||
| AddTestCase (handle, TestEntity, handle) |
/* Creates the <testcase> tag element for every test method or test procedure.
This method processes test results in two stages:
1. Loop through all individual results and add child elements (<failure>, <error>, <skipped>)
2. Set the overall 'status' attribute based on the worst-case result found (rollup of all results)
@param handle An X-NODEREF
@param TestEntity The entity for which to write results
@param handle The parent X-NODEREF */
|
||
| HANDLE CreatePropertiesElement (handle) |
/* Creates a properties element, which has some runtime properties added
@param handle The XML document the <properties> element is added to
@return handle The <properties> element */
|
||
| HANDLE CreateSkippedElement (handle, character) |
/* Adds a 'skipped' element with a message attribute
@param handle the X-DOC handle
@param character A message string. If an unknonw string is send, no message attribute is added.
@return handle The 'skipped' element */
|
||
| HANDLE CreateTraceElement (handle, TestTestResult, character) |
/* Creates the trace element with the given name and result in the xml file . Applicable for both error and exception
nodeName: the name of the node 'error' or 'failure'.
@param handle The XML document
@param TestTestResult The test result
@param character The name for this trace node (error/failure)
@return handle The newly-populated/created trace */
|
||
| HANDLE WriteXml (TestEntity) |
/* Writes the TestEntity as XML
@param TestEntity The test to write (root)
@return handle The XML document (X-DOC) */
|
Method Detail
AddChildEntities (TestEntity, handle)
|
||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AddTestCase (handle, TestEntity, handle)
|
||||||||||||||||||||||||||
HANDLE CreatePropertiesElement (handle)
|
||||||||||||||||||||||||||
HANDLE CreateSkippedElement (handle, character)
|
||||||||||||||||||||||||||
HANDLE CreateTraceElement (handle, TestTestResult, character)
|
||||||||||||||||||||||||||
HANDLE WriteXml (TestEntity)
|
||||||||||||||||||||||||||