| Class: CommandThread | qm/test/command_thread.py | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A
|
| Base Classes | |
|---|---|
|
Thread |
| Methods | |||
|---|---|---|---|
|
GetTarget RunTest Stop _RunTest _Stop _Trace __init__ run | |||
| GetTarget | |||
GetTarget ( self ) Return the
| |||
| RunTest | |||
RunTest (
self,
descriptor,
context,
)
Run the test given by
| |||
| Stop | |||
Stop ( self ) Stop the thread.Derived classes must not override this method. | |||
| _RunTest | |||
_RunTest (
self,
descriptor,
context,
)
Run the test given by
|
| Exceptions | |
|---|---|
|
NotImplementedError |
_Stop ( self )
This method is called in the thread after Stop is called
from the controlling thread. Derived classes can use this
method to release resources before the thread is destroyed.
Derived classes may override this method.
_Trace ( self, message )
message.message__init__ ( self, target )
CommandThread.targetTarget that owns this thread.run ( self )
Execute the thread.