web.DtmlPage --+
|
DefaultDtmlPage --+
|
QMTestReportPage --+
|
DirReportPage
A run database directory page.
These attributes are available in DTML:
'path' -- The label directory that is being displayed.
'subdirs' -- A sequence of labels giving the subdirectories of this
directory.
'test_ids' -- A sequence of labels giving the tests in this
directory.
'suite_ids' -- A sequence of labels giving the suites in this
directory.
'resource_ids' -- A sequence of labels giving the resources in this
directory.
|
|
__init__(self,
server,
path)
Construct a 'DirPage'.
|
|
GetItems(self,
kind=Result.TEST)
Return information about all of the items.
|
|
MakeTestRunUrl(self,
test_run)
Return the URL for navigating a particular test run.
|
:
FormatTimeIso ,
GenerateHtmlHeader ,
GenerateStartBody ,
GetResultURL ,
GetRunDatabase
:
FormatId ,
GetDatabase ,
GetMainPageUrl ,
GetName ,
GetOutcomePercentages ,
GetResultsByOutcome ,
HasModifiableExpectations ,
IsLabelInDirectory ,
MakeListingUrl
:
GenerateEndBody ,
GenerateEndScript ,
GenerateStartScript ,
GenerateXMLHeader ,
GetProgramName ,
MakeButton ,
MakeImageUrl ,
MakeLoginForm ,
MakeRule ,
MakeSpacer ,
UserIsInGroup ,
WebRequest ,
__call__
|
Construct a 'DirPage'.
'server' -- The 'QMTestServer' creating this page.
'path' -- The label directory to display.
-
- Overrides:
QMTestReportPage.__init__
|
Return information about all of the items.
returns -- A sequence of 'Item' instances corresponding to all of the
tests in this diretory.
-
|
Return the URL for navigating a particular test run.
-
|
SORT_NAME
Sort by name.
-
- Value:
|
SORT_OUTCOME
Sort by outcome.
-
- Value:
|
SORT_EXPECTATION
Sort by expectation. In other words, put unexpected outcomes before
expected outcomes.
-
- Value:
|
SORT_KINDS
The kinds of sorting available.
-
- Value:
['name', 'outcome', 'expectation']
|
|