Package qm :: Package test :: Package classes :: Module thread_target :: Class LocalThread
[hide private]
[frames] | no frames]

Class LocalThread

source code

          object --+            
                   |            
  threading._Verbose --+        
                       |        
        threading.Thread --+    
                           |    
command_thread.CommandThread --+
                               |
                              LocalThread

A 'LocalThread' executes commands locally.

Instance Methods [hide private]
 
__init__(self, target)
Construct a new 'CommandThread'.
source code
 
_RunTest(self, descriptor, context)
Run the test given by 'descriptor'.
source code
 
GetTemporaryDirectory(self)
Return the path to the temporary directory for this thread.
source code

Inherited from command_thread.CommandThread: GetTarget, RunTest, Stop, run

Inherited from command_thread.CommandThread (private): _Stop, _Trace

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Inherited from object: __class__

Method Details [hide private]

__init__(self, target)
(Constructor)

source code 

Construct a new 'CommandThread'.

'target' -- The 'Target' that owns this thread.

Overrides: object.__init__
(inherited documentation)

_RunTest(self, descriptor, context)

source code 

Run the test given by 'descriptor'.

'descriptor' -- The name of the test to be run.

'context' -- The 'Context' in which to run the test.

Overrides: command_thread.CommandThread._RunTest

GetTemporaryDirectory(self)

source code 

Return the path to the temporary directory for this thread.

returns -- The path to the temporary directory associated with this thread.