Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | target.Target --+ | ProcessTarget
|
|||
QMTestExecutable | A 'QMTestExecutable' redirects commands to a child process. | ||
Inherited from |
|
|||
IsIdle(self)
Return true if the target is idle. |
|||
RunTest(self,
descriptor,
context)
Run the test given by 'test_id'. |
|||
Start(self,
response_queue,
engine=None)
Start the target. |
|||
Stop(self)
Stop the target. |
|||
_GetInterpreter(self)
Return the interpreter to use. |
|||
__ReadResults(self,
fd)
Read results from one of the children. |
|||
__init__(self,
database,
properties)
Construct a new 'ProcessTarget'. |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
_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. | ||
database_path | |||
processes | |||
qmtest | |||
Inherited from Inherited from Inherited from |
|
Return true if the target is idle. returns -- True if the target is idle. If the target is idle, additional tasks may be assigned to it.
|
Run the test given by 'test_id'. 'descriptor' -- The 'TestDescriptor' for the test. 'context' -- The 'Context' in which to run the test.
|
Start the target. 'response_queue' -- The 'Queue' in which the results of test executions are placed. 'engine' -- The 'ExecutionEngine' that is starting the target, or 'None' if this target is being started without an 'ExecutionEngine'.
|
Stop the target. postconditions -- The target may no longer be used.
|
Return the interpreter to use. returns -- A list giving the path to an interpreter, and arguments to provide the interpreter. This interpreter is used to run QMTest. If '[]' is returned, then no intepreter is used. |
Read results from one of the children. 'fd' -- The descriptor from which the results should be read. |
Construct a new 'ProcessTarget'. 'database' -- The 'Database' containing the tests that will be run. 'properties' -- A dictionary mapping strings (property names) to strings (property values).
|
|
_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.
|
database_path
|
processes
|
qmtest
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:32 2007 | http://epydoc.sf.net |