Home | Trees | Index | Help |
---|
|
ItemDescriptor --+ | TestDescriptor
|
|||
__init__(self,
database,
test_id,
test_class_name=None,
arguments=None,
test=None)
Create a new test instance. |
|||
GetClass(self)
Return the class of the entity. |
|||
GetTest(self)
Return the 'Test' object described by this descriptor. |
|||
GetPrerequisites(self)
Return a map from prerequisite test IDs to required outcomes. |
|||
GetTargetGroup(self)
Returns the pattern for the targets that can run this test. |
|||
Run(self,
context,
result)
Execute this test. |
|||
Inherited from Inherited from |
|
Create a new test instance. 'database' -- The 'Database' containing this test. 'test_id' -- The test ID. 'test_class_name' -- The name of the test class of which this is an instance. Omit this argument if 'test' is provided. 'arguments' -- This test's arguments to the test class. Omit this argument if 'test' is provided. 'test' -- The test class of which this is an instance.
|
Return the class of the entity. returns -- The Python class object for the entity. For example, for a 'TestDescriptor', this method returns the test class.
|
|
|
Returns the pattern for the targets that can run this test. returns -- A regular expression (represented as a string) that indicates the targets on which this test can be run. If the pattern matches a particular group name, the test can be run on targets in that group. |
Execute this test. 'context' -- The 'Context' in which the test should be executed. 'result' -- The 'Result' object for this test. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:33 2007 | http://epydoc.sf.net |