TaskEngineTestCase Class Reference

List of all members.

Public Member Functions

def __init__
def checkInstantiation
def checkStartup
 Test whether the thread starts up.
def __task_1
def checkSpawn
 Test whether we can spawn a class method task to the engine and have the arguments handled correctly.
def checkUnboundSpawn
 Test whether we can spawn an unbound function task to the engine and have the arguments handled correctly.
def __doException
def __task_2
def checkException1
 Test that the engine doesn't die if a class method task throws an exception.
def checkException2
 Test that the engine doesn't die if an unbound function task throws an exception.
def checkSelfShutdown
 Test that attempts to shut down an engine via a task fails.
def checkShutdown1
 Test that attempting to shut down an engine from an unrelated thread succeeds.
def checkShutdown2
 Test that attempts to shut down an engine that wasn't started fails.

Private Attributes

 __a
 __b
 __c
 __x
 __y
 __z
 __status

Detailed Description

Definition at line 135 of file taskEngine.py.


Member Function Documentation

def __doException   self  ) 
 

Definition at line 218 of file taskEngine.py.

def __init__   self,
  arg
 

Definition at line 136 of file taskEngine.py.

def __task_1   self,
  a,
  b,
  c,
  x,
  y,
  z
 

Definition at line 156 of file taskEngine.py.

def __task_2   self  ) 
 

Definition at line 222 of file taskEngine.py.

def checkException1   self  ) 
 

Test that the engine doesn't die if a class method task throws an exception.

Definition at line 226 of file taskEngine.py.

def checkException2   self  ) 
 

Test that the engine doesn't die if an unbound function task throws an exception.

Definition at line 247 of file taskEngine.py.

def checkInstantiation   self  ) 
 

Definition at line 139 of file taskEngine.py.

def checkSelfShutdown   self  ) 
 

Test that attempts to shut down an engine via a task fails.

Definition at line 268 of file taskEngine.py.

def checkShutdown1   self  ) 
 

Test that attempting to shut down an engine from an unrelated thread succeeds.

Definition at line 287 of file taskEngine.py.

def checkShutdown2   self  ) 
 

Test that attempts to shut down an engine that wasn't started fails.

Definition at line 300 of file taskEngine.py.

def checkSpawn   self  ) 
 

Test whether we can spawn a class method task to the engine and have the arguments handled correctly.

Definition at line 164 of file taskEngine.py.

def checkStartup   self  ) 
 

Test whether the thread starts up.

Definition at line 145 of file taskEngine.py.

def checkUnboundSpawn   self  ) 
 

Test whether we can spawn an unbound function task to the engine and have the arguments handled correctly.

Definition at line 194 of file taskEngine.py.


Member Data Documentation

__a [private]
 

Definition at line 157 of file taskEngine.py.

__b [private]
 

Definition at line 158 of file taskEngine.py.

__c [private]
 

Definition at line 159 of file taskEngine.py.

__status [private]
 

Definition at line 223 of file taskEngine.py.

__x [private]
 

Definition at line 160 of file taskEngine.py.

__y [private]
 

Definition at line 161 of file taskEngine.py.

__z [private]
 

Definition at line 162 of file taskEngine.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:02 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO