| Home | Trees | Index | Help |
|---|
| Package qm :: Package test :: Package classes :: Module pickle_result_stream :: Class PickleResultStream |
|
object--+ |Extension--+ |ResultStream--+ |FileResultStream--+ | PickleResultStream
A 'PickleResultStream' writes out results as Python pickles.
See also 'PickleResultReader', which does the reverse.| Method Summary | |
|---|---|
Construct a new 'Extension'. | |
Output an annotation for this run. | |
Output a test result. | |
| Inherited from ResultStream | |
Output summary information about the results. | |
Output all annotations in 'annotations' to this stream. | |
| Inherited from Extension | |
| |
Return the name of the extension class. | |
Return the arguments to this extension instance. | |
Create a DOM document for 'self'. | |
Create a DOM node for 'self'. | |
Write an XML description of 'self' to a file. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
list |
arguments = [<<class 'qm.fields.IntegerField'> protocol_...
|
NoneType |
expected_outcomes = None |
NoneType |
file = None |
str |
filename = ''
|
int |
protocol_version = 1 |
| Inherited from ResultStream | |
str |
kind = 'result_stream'
|
| Method Details |
|---|
__init__(self,
arguments=None,
**args)
|
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. 'key' -- the key value as a string. 'value' -- the value of this annotation as a string.
|
WriteResult(self, result)Output a test result. Subclasses must override this method; the default implementation raises a 'NotImplementedError'. 'result' -- A 'Result'.
|
| Class Variable Details |
|---|
arguments
|
expected_outcomes
|
file
|
filename
|
protocol_version
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 27 15:49:07 2007 | http://epydoc.sf.net |