| Home | Trees | Index | Help |
|---|
|
|
web.DtmlPage --+
|
DefaultDtmlPage
|
|||
|
Inherited from |
|||
|
|||
|
__init__(self,
dtml_template,
server,
**attributes)
Construct a new 'QMTestPage'. |
|||
|
GetName(self)
Return the name of the application. |
|||
| MakeListingUrl(self) | |||
|
GetMainPageUrl(self)
Return the URL for the main page. |
|||
|
GetDatabase(self)
Returns the 'Database' in use. |
|||
|
IsLabelInDirectory(self,
id,
directory)
Returns true if 'id' is in 'directory'. |
|||
|
FormatId(self,
id,
type,
style="basic")
Format 'id' as HTML. |
|||
|
GetResultsByOutcome(self,
results)
Compute the tests in 'results' with each outcome. |
|||
|
GetOutcomePercentages(self,
results)
Compute the percentage (by outcome) of the 'results'. |
|||
|
HasModifiableExpectations(self)
Return True if expectations are modifiable. |
|||
|
Inherited from |
|||
|
|||
| html_generator | |||
| NEGATIVE_UNEXPECTED | A test's result was unfavorably unexpected. | ||
| POSITIVE_UNEXPECTED | A test's result was favorably unexpected. | ||
| EXPECTED | A test's result was as expected. | ||
| EXPECTATION_KINDS | The kinds of expectations. | ||
| outcomes | |||
|
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.
|
|
|
|
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. |
|
|
|||
html_generator
|
NEGATIVE_UNEXPECTEDA test's result was unfavorably unexpected.
|
POSITIVE_UNEXPECTEDA test's result was favorably unexpected.
|
EXPECTEDA test's result was as expected.
|
EXPECTATION_KINDSThe kinds of expectations.
|
outcomes
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:34 2007 | http://epydoc.sf.net |