Home | Trees | Index | Help |
---|
|
web.DtmlPage --+ | DefaultDtmlPage --+ | QMTestPage
A 'QMTestPage' is a 'DtmlPage' for pages generated by QMTest.
A 'QMTestPage' automatically looks for DTML templates in the directory that contains QMTest DTML templates.
|
|||
Inherited from |
|
|||
__init__(self,
dtml_template,
server)
Construct a new 'QMTestPage'. |
|||
GenerateStartBody(self,
decorations=1)
Return markup to start the body of the HTML document. |
|||
IsFinished(self)
Return true iff no more results are forthcoming. |
|||
GetRefreshDelay(self)
Returns the number of seconds to wait before refreshing the page. |
|||
GenerateHtmlHeader(self,
description,
headers="")
Return the header for an HTML document. |
|||
GetExpectationUrl(self,
id,
expectation)
Return the URL for setting the expectation associated with 'id'. |
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Construct a new 'QMTestPage'. 'dtml_template' -- The file name of the DTML template, relative to the directory that contains QMTest DTML templates. (Usually, this is just a basename.) 'server' -- The 'QMTestServer' creating this page.
|
|
Return true iff no more results are forthcoming. returns -- True if no more tests are running. |
Returns the number of seconds to wait before refreshing the page. returns -- The number of seconds to wait before refreshing this page. A value of zero means that te page should never be refreshed. This function is only called if 'IsFinished' returns true. |
Return the header for an HTML document. 'description' -- A string describing this page. 'headers' -- Any additional HTML headers to place in the '<head>' section of the HTML document.
|
Return the URL for setting the expectation associated with 'id'. 'id' -- The name of a test. 'expectation' -- The current expectation associated with the test, or 'None' if there is no associated expectation. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:34 2007 | http://epydoc.sf.net |