Class: ResultStream | qm/test/result_stream.py | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A
|
Base Classes | |
---|---|
qm.extension.Extension |
Methods | |||
---|---|---|---|
Summarize WriteAllAnnotations WriteAnnotation WriteResult | |||
Summarize | |||
Summarize ( self ) 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. | |||
WriteAllAnnotations | |||
WriteAllAnnotations ( self, annotations ) Output all annotations in
| |||
WriteAnnotation | |||
WriteAnnotation ( self, key, value, ) Output an annotation for this run.Subclasses should override this if they want to store/display annotations; the default implementation simply discards them.
| |||
WriteResult | |||
WriteResult ( self, result ) Output a test result. Subclasses must override this method; the default
implementation raises a
|