The class converts a given
com.canoo.webtest.reporting.StepResult into its XML representation.
It is used to decouple report file handling (
XmlReporter ) and report content generation (this class).
author: Marc Guillemot
This method actually adds the XML representation of the test result
to the provided XML document. If the document is new (empty), it
creates the required root element. Then it appends a new
child to the root containing this result representation.
Parameters: doc - An XML document into which the report for the currenttest result shall be added throws: ReportCreationException - Signals an inconsistency in theXML document