Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | Runnable
A 'Runnable' can run on a 'Target'.
'Runnable' is an abstract base class for 'Test' and 'Resource'.
|
|||
ResourceField | A 'ResourceField' contains the name of a resource. | ||
Inherited from |
|
|||
GetAttachments(self)
Return the 'Attachment's to this 'Runnable'. |
|||
GetDatabase(self)
Return the 'Database' in which this test or resource is stored. |
|||
GetId(self)
Return the name of this test or resource. |
|||
__GetAttachments(self,
field,
value,
attachments)
Return the 'Attachments' that are part of 'field'. |
|||
__init__(self,
arguments=None,
**args)
Construct a new 'Runnable'. |
|||
Inherited from Inherited from |
|
|||
EXTRA_DATABASE | The name of the extra keyword argument to '__init__' that specifies the database containing the test or resource. | ||
EXTRA_ID | The name of the extra keyword argument to '__init__' that specifies the name of the test or resource. | ||
RESOURCE_FIELD_ID | The name of the field that contains the resources on which this test or resource depends. | ||
_argument_dictionary | A map from argument names to 'Field' instances. | ||
_argument_list | A list of all the 'Field's in this class. | ||
arguments | A list of the arguments to the extension class. | ||
resources | |||
Inherited from Inherited from Inherited from |
|
Return the 'Attachment's to this 'Runnable'. returns -- A sequence consisting of the 'Attachment' objects associated with this runnable. |
Return the 'Database' in which this test or resource is stored. returns -- The 'Database' in which this test or resource is stored. |
Return the name of this test or resource. 'context' -- The 'Context' in which this entity is running. returns -- The name of this test or resource. |
Return the 'Attachments' that are part of 'field'. 'field' -- The 'Field' being examined. 'value' -- The value of that 'Field' in 'self'. 'attachments' -- A sequence consisting of the attachments found so far. Additional 'Attachment's are appended to this sequence by this function. |
Construct a new 'Runnable'. 'arguments' -- As for 'Extension.__init__'. 'args' -- As for 'Extension.__init__.
|
|
EXTRA_DATABASEThe name of the extra keyword argument to '__init__' that specifies the database containing the test or resource.
|
EXTRA_IDThe name of the extra keyword argument to '__init__' that specifies the name of the test or resource.
|
RESOURCE_FIELD_IDThe name of the field that contains the resources on which this test or resource depends.
|
_argument_dictionaryA map from argument names to 'Field' instances. A map from the names of arguments for this class to the corresponding 'Field'.
|
_argument_listA list of all the 'Field's in this class. This list combines the complete list of 'arguments'. 'Field's appear in the order reached by a pre-order breadth-first traversal of the hierarchy, starting from the most derived class.
|
argumentsA list of the arguments to the extension class. Each element of this list should be an instance of 'Field'. The 'Field' instance describes the argument. Derived classes may redefine this class variable. However, derived classes should not explicitly include the arguments from base classes; QMTest will automatically combine all the arguments found throughout the class hierarchy.
|
resources
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:33 2007 | http://epydoc.sf.net |