| Home | Trees | Index | Help |
|---|
| Package qm :: Package test :: Module expectation_database :: Class ExpectationDatabase |
|
object--+ |Extension--+ | ExpectationDatabase
An 'ExpectationDatabase' stores result expectations.
An 'ExpectationDatabase' provides a mechanism to store and make accessible expectations for test outcomes. By default, all tests are expected to pass.| Method Summary | |
|---|---|
Return a dict object mapping test ids to expected outcomes. | |
Look up the expected outcome for the given test. | |
| Inherited from Extension | |
Construct a new '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 | |
|---|---|
str |
kind = 'expectation_database'
|
NoneType |
test_database = None |
NoneType |
testrun_parameters = None |
| Inherited from Extension | |
list |
arguments = []
|
| Method Details |
|---|
GetExpectedOutcomes(self)Return a dict object mapping test ids to expected outcomes. |
Lookup(self, test_id)Look up the expected outcome for the given test. 'test_id' -- test-id for which the outcome is queried. returns -- a Result object associated with this test_id. |
| Class Variable Details |
|---|
kind
|
test_database
|
testrun_parameters
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 27 15:49:00 2007 | http://epydoc.sf.net |