|
Options |
Name |
Purpose |
|
|
AddChildEntities (TestEntity, handle, ICollection)
|
/* 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
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc */
|
|
|
AddTestcase (handle, TestEntity, handle, ICollection)
|
/* Creates the <testcase> tag element for every test method or test procedure.
@param handle An X-NODEREF
@param TestEntity The entity for which to write results
@param handle The parent X-NODEREF
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc */
|
|
|
HANDLE CreatePropertiesElement (handle, ICollection)
|
/* Creates a properties element, which has some runtime properties added
@param handle The XML document the <properties> element is added to
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc
@return handle The <properties> element */
|
|
|
HANDLE CreateSkippedElement (handle, character, ICollection)
|
/* 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.
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc
@return handle The 'skipped' element */
|
|
|
HANDLE CreateTraceElement (handle, TestTestResult, character, ICollection)
|
/* 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)
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc
@return handle The newly-populated/created trace */
|
|
|
HANDLE CreateXmlDoc (ICollection)
|
/* Creates an X-DOCUMENT and caches it for later cleanup
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc
@return handle The newly created X-DOCUMENT handle */
|
|
|
HANDLE CreateXmlNode (ICollection)
|
/* Creates an X-NODEREF and caches it for later cleanup
@param ICollection A collection to hold any X-DOC or X-NODEREF handles for cleanup after writing of the doc
@return handle The newly created X-NODEREF handle */
|
|
|
WriteToFile (character, TestEntity)
|
/* Writes the test results in the xml file
@param character The XML file name.
@param TestEntity The test to write (root) */
|
|
|
LONGCHAR WriteToLongchar (TestEntity)
|
/* Writes the test results to a longchar
@param TestEntity The test to write (root)
@param longchar The XML output, with a UTF-8 codepage */
|
|
|
HANDLE WriteXml (TestEntity, ICollection)
|
/* Writes the testENtity as XML
@param TestEntity The test to write (root)
@param ICollection A collection holding all X-DOC or X-NODEREF handles for cleanup after writing of the doc.
An invalid object may be passed in. A valid object will always be passed out.
@return handle The XML document (X-DOC) */
|