Home | Trees | Indices | Help |
---|
|
web.DtmlPage --+ | DefaultDtmlPage
Subclass of DTML page class for QMTest pages.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
html_generator = "QMTest"
|
|||
NEGATIVE_UNEXPECTED =
A test's result was unfavorably unexpected. |
|||
POSITIVE_UNEXPECTED =
A test's result was favorably unexpected. |
|||
EXPECTED = "EXPECTED" A test's result was as expected. |
|||
EXPECTATION_KINDS = [NEGATIVE_UNEXPECTED, EXPECTED, POSITIVE_U The kinds of expectations. |
|||
outcomes = Result.outcomes+ [EXPECTED]
|
|||
Inherited from |
|
Construct a new 'QMTestPage'. 'server' -- The 'QMTestServer' creating this page. 'dtml_template' -- The file name of the DTML template, relative to the DTML directory.
|
Return the URL for the main page.
|
Returns the 'Database' in use. returns -- The 'Database' in use. |
Returns true if 'id' is in 'directory'. returns -- True if 'id' indicates a test contained in 'directory', or one of its subdirectories. |
Format 'id' as HTML. 'id' -- The name of a test or resource. 'type' -- The kind of item named by 'id'. Either 'resource', 'suite', or 'test'. 'style' -- The formatting style to use. One of 'plain', 'basic', 'navigation', or 'tree'. returns -- A string containing HTML to use for 'id'. |
Compute the tests in 'results' with each outcome. 'results' -- A sequence of 'Result' instances. returns -- A dictionary mapping outcomes to the sequence of tests that have the indicated outcome in 'results'. |
Compute the percentage (by outcome) of the 'results'. 'results' -- A sequence of 'Result' instances. returns -- A dictionary mapping outcomes to the percentage (as a floating point number) of tests in 'results' that have that outcome. |
|
EXPECTATION_KINDSThe kinds of expectations.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:42 2011 | http://epydoc.sourceforge.net |