Home | Trees | Indices | Help |
---|
|
object --+ | extension.Extension --+ | target.Target --+ | ProcessTarget
A 'ProcessTarget' runs tests in child processes.
|
|||
QMTestExecutable A 'QMTestExecutable' redirects commands to a child process. |
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
arguments = [qm.fields.IntegerField(name= "processes", title= A list of the arguments to the extension class. |
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
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).
|
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.
|
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.
|
Run the test given by 'test_id'. 'descriptor' -- The 'TestDescriptor' for the test. 'context' -- The 'Context' in which to run the test.
|
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. |
|
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.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |