Home | Trees | Indices | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | resource.Resource --+ | TempDirectoryResource
Resource class to manage a temporary directory.
An instance of this resource creates a temporary directory during setup, and deletes it during cleanup. The full path to the directory is available to tests via a context property.
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
arguments =
A list of the arguments to the extension class. |
|||
_argument_dictionary =
A map from argument names to 'Field' instances. |
|||
_argument_list =
A list of all the 'Field's in this class. |
|||
delete_recursively = 1
|
|||
dir_path_property =
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Set up the resource. 'context' -- A 'Context' giving run-time parameters to the resource. The resource may place additional variables into the 'context'; these variables will be visible to tests that depend on the resource. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations. This method should not return a value. Derived classes must override this method.
|
Clean up the resource. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations. This method should not return a value. Derived classes may override this method.
|
|
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.
|
_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.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |