Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | result_stream.ResultStream --+ | file_result_stream.FileResultStream --+ | XMLResultStream
An 'XMLResultStream' writes out results as XML.
An 'XMLResultStream' writes out results as XML. This stream is used to write out QMTest results files. The DTD is designed in such a way that if QMTest is terminated in the middle of a test run, the file will still be nearly valid, as long as the interruption did not occur in the midst of writing out an individual result. The closing tag for the results file will be missing.
|
|||
Inherited from |
|
|||
__init__(self, arguments=None, **args) | |||
WriteAnnotation(self,
key,
value)
Output an annotation for this run. |
|||
WriteResult(self,
result)
Output a test result. |
|||
Summarize(self)
Output summary information about the results. |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|
Output an annotation for this run. Subclasses should override this if they want to store/display annotations; the default implementation simply discards them. 'key' -- the key value as a string. 'value' -- the value of this annotation as a string.
|
Output a test result. Subclasses must override this method; the default implementation raises a 'NotImplementedError'. 'result' -- A 'Result'.
|
Output summary information about the results. When this method is called, the test run is complete. Summary information should be displayed for the user, if appropriate. Any finalization, such as the closing of open files, should also be performed at this point. Derived class methods may override this method. They should, however, invoke this version before returning.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:33 2007 | http://epydoc.sf.net |